[Ilugc] [OT] Running PERL
- From: suraj@xxxxxxxxxxx (Suraj Kumar)
- Date: 28 Oct 2002 14:09:10 +0530
On Mon, 2002-10-28 at 10:39, Bharathi S wrote:
"perl perl.pl argument[1] argument[2] argument[3]" instead of the
"shell_script argument[1] argument[2] argument[3]"
I hope, #!/usr/bin/perl in 1st line will automatically invoke the
perl command. If I am worng, Correct me.
General Info: The first line #! interpreter directive is called
"She-Bang".
A portable way of writing this instead of hardcoding your interpreter's
path is:
#! /usr/bin/env perl
env will execute the first binary matching the argument in the PATH
variable. This means if you have two versions of perl (say, one in
/usr/bin and one in /usr/local/bin) all that you need to do is change
the PATH environment variable instead of changing each and every
script's shebang.
-Suraj
--
+--------------------------------------------<suraj@xxxxxxxxxxx>---+
|When you see the beloved who enthralls in embrace, O my |
|mind ! sulking fails in a huff, and falsifies your wrath |
|(conversing with thy soul - 6), Thirukkural |
+---<
http://symonds.net/~suraj/>-----------------------------------+
From R R" <ranjit_nair22@xxxxxxxxxxxxxx Mon Oct 28 09:13:32 2002
From: R R" <ranjit_nair22@xxxxxxxxxxxxxx (R R)
Date: 28 Oct 2002 09:13:32 -0000
Subject: [Ilugc] Commercial - Job opportunity Linux system/web Admin
Message-ID: <20021028091332.10787.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>
Dear Friends
A private telecom based company in chennai is looking for Linux
System / Web Admin with 2 yrs experience or less. Interested
candidate may send in their resume to
sysadmin_jobs@xxxxxxxxxxxxxx.
regards
Ranjit.R
*****************************
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com. Sign up for Rediffmail Pro today!
Know more.
http://www.rediffmailpro.com/signup/
Other related posts: