Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Problems with 'use lib'

by lestrrat (Deacon)
on Aug 21, 2003 at 06:41 UTC ( [id://285372]=note: print w/replies, xml ) Need Help??


in reply to Problems with 'use lib'

Remember that "use" statement is executed at compile time. Most likely your $projectLocation is not initialized. You could do something like this instead:

BEGIN { my $projectLocation = '...'; # somehow initialize this unshift @INC, $projectLocation; } use MyProjectPackage;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found