Yes #!/usr/bin/perl  is there in the code. We both are using same code.
On 7 Jan 2016 11:10, "Uri Guttman" <u...@stemsystems.com> wrote:

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

Reply via email to