For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > March 2004 > Different @inc's for different users?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Different @inc's for different users?
sdfgsd

2004-03-30, 1:36 pm

Well this one's got me at my wit's end:

I'll spare the gorry details, but I upgraded from 5.8.0 => 5.8.3 then
down-graded again for apache/mod_perl...duh. Anyway, the original Suse perl
went to /usr/lib and the upgrade went to /usr/local/lib...along with a few
modules.

So now I'm running a few scripts (same old perl executable) as a regular
user and as root and they both seem to be using different @inc's from the
two different libs!

I know I'll eventually be able to solve the problem, but I don't want to
throw the baby out with the bathwater...so to speak.

Any insights on this?

Jim B


Ala Qumsieh

2004-03-30, 7:34 pm

"sdfgsd" <footnipple@indiatimes.com> wrote in message
news:u%hac.352063$B81.5230606@twister.tampabay.rr.com...

> So now I'm running a few scripts (same old perl executable) as a regular
> user and as root and they both seem to be using different @inc's from the
> two different libs!


Are you sure it's the same executable?
Do a 'which perl' from both accounts and see. I had that problem once and it
was due to a mangled $PATH which picked up a different version.

--Ala


sdfgsd

2004-03-30, 7:34 pm


"Ala Qumsieh" <xxala_qumsiehxx@xxyahooxx.com> wrote in message
news:1bnac.16704$942.8600@newssvr27.news.prodigy.com...
> "sdfgsd" <footnipple@indiatimes.com> wrote in message
> news:u%hac.352063$B81.5230606@twister.tampabay.rr.com...
>
the[color=darkred]
>
> Are you sure it's the same executable?
> Do a 'which perl' from both accounts and see. I had that problem once and

it
> was due to a mangled $PATH which picked up a different version.


Oh jeez! Thanks.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com