[Ilugc] [OT] running perl

  • From: girigopalan@xxxxxxxxx (Giridharan Rajagopalan)
  • Date: Sun, 27 Oct 2002 21:01:10 -0800 (PST)

--0-1851300388-1035781270=:38761
Content-Type: text/plain; charset=us-ascii


You can set the perl path in the header of the file as:

#!/usr/bin/perl -w

and then give excecute permissions to the script..Now u can run it as 
<Script_Name> arg1 arg2...

If u donno where perl is u can try 'whereis perl'
or 'which perl' in ksh.

Thanks.

 

 



--
"Do unto others what u like others to do to u"
\--If u call this Open source u will be eaten by the GNU animal.--/
 ((_Fight for our freedom.www.gnu.org.//Use GNU/LINUX;_))

_|IIII__
|_0-0_|
\   |  /
  \V/
   ---

 

 

 

 



---------------------------------
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
--0-1851300388-1035781270=:38761
Content-Type: text/html; charset=us-ascii

<P>You can set the perl path in the header of the file as:</P>
<P>#!/usr/bin/perl -w</P>
<P>and then give excecute permissions to the script..Now u can run it as 
<BR>&lt;Script_Name&gt; arg1 arg2...<BR><BR>If u donno where perl is u can try 
'whereis perl'<BR>or 'which perl' in ksh.</P>
<P>Thanks.</P>
<P>&nbsp;</P>
<P>&nbsp;</P><BR><BR><P>--<BR>"Do unto others what u like others to do to 
u"<BR>\--If u call this Open source u will be eaten by the GNU 
animal.--/<BR>&nbsp;((_Fight for our freedom.<A 
href="http://www.gnu.org";>www.gnu.org</A>.//Use GNU/LINUX;_))</P>
<P>_|IIII__<BR>|_0-0_|<BR>\&nbsp;&nbsp; |&nbsp; /<BR>&nbsp; \V/<BR>&nbsp;&nbsp; 
---</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://webhosting.yahoo.com/ ";>Y! Web Hosting</a> - Let the expert 
host your web site
--0-1851300388-1035781270=:38761--

Other related posts: