Mahdi,

Question 1: I believe the ":" at the beginning of the script means "use
bourne shell to execute this script.

Question 2: I don't know of any way, unless you start the script with
"perl scriptname."

Hope this helps,
Craig

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:perl-unix-
> [EMAIL PROTECTED]] On Behalf Of Mahdi A. Sbeih
> Sent: Tuesday, April 23, 2002 9:21 AM
> To: [EMAIL PROTECTED]
> Subject: [Perl-unix-users] the #! construct to start perl on your
system
> 
> Hi there,
> 
> 
> I am installing now Perl 5 on my Solaris box,
> 
> I am trying to understand this question that I am
> being asked by Configure script:
> 
> I can use the #! construct to start Perl on your system. This will
> make startup of Perl scripts faster, but may cause problems if you
> want to share those scripts and Perl is not in a standard place
> (/ids/source_3rd/perl/build/Solaris2.6/bin/perl) on all your
platforms.
> The
> alternative is to force
> a shell by starting the script with a single ':' character.
> 
> I have 2 questions:
> What does using the single ':' char means.??
> Is there away to let the Perl script use whatever Perl specified in
the
> PATH??
> 
> Thanks in advance.
> 
> 
> Mahdi.
> 
> 
> 
> 
> _______________________________________________
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to