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.

Regards,
Ankita
On 6 Jan 2016 22:44, "Mike D" <ekimduna...@gmail.com> wrote:

> In the future, please use the Reply All feature.
>
> So, run `echo $PATH` on both users.
>
> If the path for the Perl executable is different for the user in which the
> script works, try editing the path variable for the user in which it
> doesn't to use the path to the working Perl executable:
>
> http://superuser.com/questions/488173/how-can-i-edit-the-path-on-linux
>
> On Wed, Jan 6, 2016 at 10:15 AM, Ankita Rath <ankitarath2...@gmail.com>
> wrote:
>
>> Thank you. But code is exactly same for both of us. Is there any user
>> specific system file where perl path has to be added?
>>
>> On Wed, Jan 6, 2016 at 9:09 PM, <ekimduna...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I would assume that you have multiple versions of Perl installed and
>>> that the other user has the "working version" in their path, while this
>>> user has a different version in theirs.
>>>
>>> Sent from my iPhone.
>>>
>>> On Jan 6, 2016, at 9:34 AM, Ankita Rath <ankitarath2...@gmail.com>
>>> wrote:
>>>
>>> Hi all,
>>>
>>> I am trying to execute some perl scripts. I am getting following error.
>>> But other user in the same server are not getting the error. So can anybody
>>> help me understanding this problem. And why other user are not getting the
>>> error.
>>>
>>> Perl 5.008003 required--this is only version 5.00503, stopped at
>>> ../Modules/Modules_64/5.8.5/x86_64-linux-thread-multi/YAML/XS.pm line 26.
>>> BEGIN failed--compilation aborted at
>>> ../Modules/Modules_64/5.8.5/x86_64-linux-thread-multi/YAML/XS.pm line 26.
>>>
>>> Regards,
>>> Ankita
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Reply via email to