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

Re: Can't find module

by rpike (Scribe)
on Jan 10, 2011 at 16:10 UTC ( #881495=note: print w/ replies, xml ) Need Help??


in reply to Can't find module

I thought in the process of searching for a module one of the first locations the Perl interpreter looked was the directory the currently running script resided in as well? Thanks for the reply. Whats the easiest way to check the "current directory"? Cwd? Execute statement?


Comment on Re: Can't find module
Re^2: Can't find module
by Corion (Pope) on Jan 10, 2011 at 16:12 UTC
Re^2: Can't find module
by ikegami (Pope) on Jan 10, 2011 at 16:31 UTC

    I thought in the process of searching for a module one of the first locations the Perl interpreter looked was the directory the currently running script resided in as well?

    No, Perl searches the directories in @INC. This often includes the current work directory ("."), but it rarely includes the directory in which the script resides unless it happens to reside in the current work directory.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-04-20 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls