Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: two lib folders

by davidrw (Prior)
on Dec 05, 2005 at 22:09 UTC ( [id://514257]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use lib ('/path/to/2/', '/path/to/1/');
    
  2. or download this
    use lib "/path/to/1/";
    use lib "/path/to/2/";
    
  3. or download this
    [davidrw@host davidrw]$ perl -le 'use lib qw(/path/to/1/); use lib qw(
    +/path/to/2/); print join " ", @INC[0..1]'
    /path/to/2/ /path/to/1/
    
    [davidrw@host davidrw]$ perl -le 'use lib qw(/path/to/1/ /path/to/2/);
    + print join " ", @INC[0..1]'
    /path/to/1/ /path/to/2/
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-07-15 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.