[Israel.pm] Perl in multiple locations

Nasriachi, Micha micha.nasriachi at intel.com
Tue Apr 29 02:11:38 PDT 2008


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.




More information about the Perl mailing list