Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Problems with 'use lib'

by shenme (Priest)
on Aug 21, 2003 at 06:53 UTC ( [id://285378]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $projectLocation = '/some/other/place';
    
  2. or download this
    BEGIN {
      my $projectLocation = '/some/other/place';
      use lib $projectLocation;
    }
    
  3. or download this
    BEGIN {
      use lib $ENV{MYLIBRARYDIR};
      printf "in BEGIN:   '%s'\n", join("', '", @INC );
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://285378]
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-04-19 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found