Re: Is perl user specific

2016-01-07 Thread Kent Fredric
On 7 January 2016 at 04:34, Ankita Rath wrote: > 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 li

RE: Is perl user specific

2016-01-07 Thread Ankita Rath
hich will > include the library paths (@INC) to prove/disprove this. > > > > Duncs > > > > *From:* Uri Guttman [mailto:u...@stemsystems.com] > *Sent:* 07 January 2016 07:45 > *To:* Duncan Ferguson ; Ankita Rath < > ankitarath2...@gmail.com> > *Cc:* Per

RE: Is perl user specific

2016-01-07 Thread Duncan Ferguson
Cc: Perl Beginners Subject: Re: Is perl user specific On 01/07/2016 02:38 AM, Duncan Ferguson wrote: If the perl binary is the same between both users, but you are getting module version errors, then it is possible you have other environment settings telling perl to use different library paths

Re: Is perl user specific

2016-01-06 Thread Uri Guttman
On 01/07/2016 01:11 AM, Ankita Rath wrote: /usr/bin/perl -v is 5.8.8 on which system? you need to print that for both. one of them is using 5.8.8 and the other is using an older perl which doesn't work for your code. uri -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For addi

Re: Is perl user specific

2016-01-06 Thread Uri Guttman
On 01/07/2016 02:38 AM, Duncan Ferguson wrote: If the perl binary is the same between both users, but you are getting module version errors, then it is possible you have other environment settings telling perl to use different library paths To check, use env | grep –i perl and look for dif

RE: Is perl user specific

2016-01-06 Thread Duncan Ferguson
Duncs From: Ankita Rath [mailto:ankitarath2...@gmail.com] Sent: 07 January 2016 06:12 To: Uri Guttman Cc: Perl Beginners Subject: Re: Is perl user specific /usr/bin/perl -v is 5.8.8 On 7 Jan 2016 11:27, "Uri Guttman" mailto:u...@stemsystems.com>> wrote: On 01/07/2016 12:53 AM, A

Re: Is perl user specific

2016-01-06 Thread Uri Guttman
On 01/07/2016 12:53 AM, Ankita Rath wrote: Yes #!/usr/bin/perl is there in the code. We both are using same code. yes, but which versions of perl does that path point to on your systems? run this on each system: /usr/bin/perl -v my guess given what we have seen is that the default perl

Re: Is perl user specific

2016-01-06 Thread Ankita Rath
Yes #!/usr/bin/perl is there in the code. We both are using same code. On 7 Jan 2016 11:10, "Uri Guttman" 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

Re: Is perl user specific

2016-01-06 Thread Uri Guttman
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 scrip

Re: Is perl user specific

2016-01-06 Thread Ankita Rath
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" wrote: > In the future, please use the Reply All feature. > > So, ru

Re: Is perl user specific

2016-01-06 Thread Ankita Rath
Oh okay..sorry ..I am using first time. On 6 Jan 2016 22:53, "Mike D" wrote: > Please use the Reply All feature so that your replies get sent to the > mailing list. > > On Wed, Jan 6, 2016 at 11:21 AM, Ankita Rath > wrote: > >> Okay I will try it.. Thank u >> >> Ankita >> On 6 Jan 2016 22:44, "M

Re: Is perl user specific

2016-01-06 Thread Mike D
Please use the Reply All feature so that your replies get sent to the mailing list. On Wed, Jan 6, 2016 at 11:21 AM, Ankita Rath wrote: > Okay I will try it.. Thank u > > Ankita > On 6 Jan 2016 22:44, "Mike D" wrote: > >> In the future, please use the Reply All feature. >> >> So, run `echo $PAT

Re: Is perl user specific

2016-01-06 Thread Mike D
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://supe

Re: Is perl user specific

2016-01-06 Thread Andy Bach
On Wed, Jan 6, 2016 at 9:46 AM, Dermot wrote: > You could try the `which` command if you are using a *nix based OS. For > instance; > > >which perl > /usr/bin/perl > and, to go a little further, as /usr/bin/perl is the most likely and so it's probably the 5.005 version, you could look at /usr/lo

RE: Is perl user specific

2016-01-06 Thread Duncan Ferguson
Rath [mailto:ankitarath2...@gmail.com] Sent: 06 January 2016 15:35 To: beginners@perl.org Subject: Is perl user specific 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

Re: Is perl user specific

2016-01-06 Thread Dermot
Hi Ankita, Is is possible for there to be several Perl binaries installed. Features such as perlbrew will allow you to have multiple versions installed in your home directory. You could try the `which` command if you are using a *nix based OS. For instance; >which perl /usr/bin/perl Then try per

Re: Is perl user specific

2016-01-06 Thread David Santiago
Hello Ankita, The error says all: Perl 5.008003 required--this is only version 5.00503 You are running perl version 5.005, but the minimum version to run is 5.008. Most probably the other account on the same server have a higher perl version installed (please check perlbrew (http://perlbrew.pl/)

Re: Is perl user specific

2016-01-06 Thread Shawn H Corey
On Wed, 6 Jan 2016 21:04:39 +0530 Ankita Rath wrote: > 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. > > P

Re: Is perl user specific

2016-01-06 Thread ekimdunaway
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 wrote: > > Hi all, > > I am trying to ex

Is perl user specific

2016-01-06 Thread Ankita Rath
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, stopp