Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: modify @INC

by Aristotle (Chancellor)
on Jan 17, 2003 at 01:42 UTC ( #227585=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $libpath;
    BEGIN { $libpath = "/foo/bar"; }
    use lib $libpath;
    
  2. or download this
    {
        local @INC = ("/foo/bar", @INC);
        require Foo;
        Foo->import;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2023-01-30 05:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?