Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: modifying @INC other than use lib?

by polettix (Vicar)
on Apr 18, 2005 at 17:51 UTC ( #448960=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       # In myInc.pm, located in standard perl lib directory
       package myInc;
       use lib /path/to/my/special/lib;
       1;
    
  2. or download this
       # ... in your script
       use myInc;
       use GD; # or whatever in your local lib
       # ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://448960]
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: (2)
As of 2022-05-22 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?