Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: shared perlbrew running as root

by chexmix (Hermit)
on Feb 01, 2013 at 21:23 UTC ( [id://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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1016614]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-04-23 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found