Hi Bill,

What about the "The alternative is to force...."
asked by the Configure script.

Regards,
Mahdi.


-----Original Message-----
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 5:07 PM
To: Mahdi A. Sbeih
Cc: [EMAIL PROTECTED]
Subject: Re: [Perl-unix-users] the #! construct to start perl on your
system


Mahdi A. Sbeih wrote:

> 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.


I would use #!/usr/bin/perl or #!/usr/local/bin/perl and put a symbolic

link there to where Perl really resides.  I don't think #!perl will
work on UNIX (does [or did] or Win32 prior to 2.x.x Apache from command
line - don't remember if it works from Apache).

--
   ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
  (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic
http://www.todbe.com/


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

Reply via email to