[Israel.pm] Perl in multiple locations

Alexander Gurevich gurevich at checkpoint.com
Tue Apr 29 04:42:48 PDT 2008


Thank you , it is working . But what if I want to use warnings and my perl
is 5_003. I tried to add -w to shebang line , but it is not working this
way.

Alex.

-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On Behalf
Of Shushu Inbar שושו ענבר
Sent: Tuesday, April 29, 2008 10:31 AM
To: Perl in Israel
Subject: Re: [Israel.pm] Perl in multiple locations

Hi,
You can try to use /usr/bin/env (google it...), but I am not sure the
IPSO has /usr/bin/env, so it is kind of "the chicken and the egg"
problem.
On the other hand, if I recall correctly, unless anyone changed it
since I did it, perl on IPSO is actually an alias to something else,
so it is kind of a different problem...

Ciao,
Shushu

On Tue, Apr 29, 2008 at 12:22 PM, Alexander Gurevich
<gurevich at checkpoint.com> wrote:
> 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
>
_______________________________________________
Perl mailing list
Perl at perl.org.il
http://perl.org.il/mailman/listinfo/perl

Scanned by Check Point Total Security Gateway.





More information about the Perl mailing list