Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

How do I add the directory my program lives in to the module/library search path?

by faq_monk (Initiate)
on Oct 08, 1999 at 00:29 UTC ( #753=perlfaq nodetype: print w/replies, xml ) Need Help??

Current Perl documentation can be found at perldoc.perl.org.

Here is our local, out-dated (pre-5.6) version:

    use FindBin;
    use lib "$FindBin::Bin";
    use your_own_modules;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
Discipulus straberries portable edition
[Corion]: Discipulus: Haha ;) I hadn't made the connection to Strawberry Perl at all ;)
[Discipulus]: yesterday i changed som plumb filters at home.. neoperl ..

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2017-01-20 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.