Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: PERL5LIB different than 'use lib'

by almut (Canon)
on May 07, 2009 at 02:22 UTC ( [id://762466]=note: print w/replies, xml ) Need Help??


in reply to PERL5LIB different than 'use lib'

Just out of curiosity... you could compare the strace output you're getting with PERL5LIB against the corresponding attempt with "use lib ...". If the one works and the other doesn't, there presumably is some difference in which places are being searched...

$ strace -efile perl -MSome::Module -e1 2>&1 | grep Module

(where Some::Module of course is a module that exhibits the difference)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found