On 01/07/2016 12:29 AM, Ankita Rath wrote:

Hi all,

I checked the mentioned things.

Perl -v
Which perl
Echo $PATH

Everything is same for both the user. I am not understanding why is it working in one user and not in other.


is there a #!/usr/bin/perl (or similar) in beginning of the script? it will force that perl to be used but the versions on each system at that path could be different. do a perl -v but with that path on each system.

as others have said, you are running different perl's on each box. you have to figure out exactly what is selecting perl on each box. the #! line is one of those ways.

uri





--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to