Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Using the modules I want to use.

by chromatic (Archbishop)
on Nov 02, 2002 at 06:24 UTC ( [id://209905]=note: print w/replies, xml ) Need Help??


in reply to Using the modules I want to use.

To add to what Aristotle said, the reason unshifting a path onto @INC didn't work is because use happens at compile time, not at run time. Perl first reads your program and decides what to do with it (compile time). Then it executes it, in order. use happens at compile time. unshift happens at run time.

First you have to tell Perl where to look. Then, you tell it what to find.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-25 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found