Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Mods in different directories

by Sol-Invictus (Scribe)
on Jan 31, 2004 at 15:29 UTC ( #325554=note: print w/ replies, xml ) Need Help??


in reply to Mods in different directories

TIMTOWTDI

add this to the top of your script:

use lib('/path/to/module1','/path/to/module2');

this does the same as

unshift (@INC,'/path/to/module1','/path/to/module2');


Comment on Re: Mods in different directories
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (15)
As of 2015-07-30 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls