Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Ignoring @INC in a use

by Zaxo (Archbishop)
on Aug 13, 2001 at 03:10 UTC ( [id://104335]=note: print w/replies, xml ) Need Help??


in reply to Ignoring @INC in a use

The line,

use lib '/path/to/module';
does what you want.

If you use unshift instead of push, your way will work, too. push places the custom library at the end of the path

After Compline,
Zaxo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-25 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found