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

Re: adding library directories relative to $0

by jeffa (Bishop)
on Feb 22, 2011 at 20:57 UTC ( #889675=note: print w/replies, xml ) Need Help??


in reply to adding library directories relative to $0

FindBin is a standard module that solves this problem. (sort of)

use FindBin qw($Bin); use lib "$Bin/../lib";


jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://889675]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-01-21 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (184 votes). Check out past polls.