Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: shared perlbrew running as root

by chexmix (Hermit)
on Feb 01, 2013 at 21:23 UTC ( #1016614=note: print w/ replies, xml ) Need Help??


in reply to shared perlbrew running as root

Try running

env | grep PERL5LIB

both as userx and as root. I admit up front I don't know anything about perlbrew, but I agree it does sound like a library issue. If you get a certain value for PERL5LIB as userx and nothing as root, I'd try setting PERL5LIB for root to whatever it is you got as userx.

Or alternately, use a 'use lib' statement in scripts owned by root.

/G


Comment on Re: shared perlbrew running as root
Download Code
Replies are listed 'Best First'.
Re^2: shared perlbrew running as root
by rootcho (Pilgrim) on Feb 01, 2013 at 22:01 UTC
    In both cases there is no PERL5LIB

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016614]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2015-08-31 00:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (351 votes), past polls