[Israel.pm] Perl in multiple locations

Gaal Yahas gaal at forum2.org
Tue Apr 29 03:08:18 PDT 2008


The magic incantation is listed in that manpage. Look for
"running_under_some_shell".

On Tue, Apr 29, 2008 at 12:11 PM, Nasriachi, Micha
<micha.nasriachi at intel.com> wrote:
> Sorry ... that worked on Windows but not on Linux (WTF?)
>  Check 'perldoc perlrun' to get the real answer ...
>
>
>  Micha
>
>  -----Original Message-----
>  From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On
>
> Behalf Of Nasriachi, Micha
>  Sent: Tuesday, April 29, 2008 11:59 AM
>  To: Perl in Israel
>
>
> Subject: Re: [Israel.pm] Perl in multiple locations
>
>  Considering the perl binary is in your $PATH (?)
>  Did you try:
>  #!perl
>  as your shebang?
>
>  HTH,
>  Micha
>
>  -----Original Message-----
>  From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On
>  Behalf Of Alexander Gurevich
>  Sent: Tuesday, April 29, 2008 12:23 PM
>  To: 'Perl in Israel'
>  Subject: [Israel.pm] Perl in multiple locations
>
>  Hi
>
>  I need to start my perl script on different platforms and location of
>  perl
>  binary is different on them (Linux , Nokia IPSO).
>  Does any one know how to define different paths for perl in the shebang
>  line?
>
>  Alex.
>
>  _______________________________________________
>  Perl mailing list
>  Perl at perl.org.il
>  http://perl.org.il/mailman/listinfo/perl
>  ---------------------------------------------------------------------
>  Envara, Ltd.
>
>  This e-mail and any attachments may contain confidential material for
>  the sole use of the intended recipient(s). Any review or distribution
>  by others is strictly prohibited. If you are not the intended
>  recipient, please contact the sender and delete all copies.
>
>  _______________________________________________
>  Perl mailing list
>  Perl at perl.org.il
>  http://perl.org.il/mailman/listinfo/perl
>  ---------------------------------------------------------------------
>  Envara, Ltd.
>
>  This e-mail and any attachments may contain confidential material for
>  the sole use of the intended recipient(s). Any review or distribution
>  by others is strictly prohibited. If you are not the intended
>  recipient, please contact the sender and delete all copies.
>
>  _______________________________________________
>  Perl mailing list
>  Perl at perl.org.il
>  http://perl.org.il/mailman/listinfo/perl
>



-- 
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/



More information about the Perl mailing list