Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Full path to the current file?

by cdarke (Prior)
on Jan 08, 2008 at 20:30 UTC ( #661168=note: print w/replies, xml ) Need Help??


in reply to Full path to the current file?

If you want the full path name of where a module was loaded from, use %INC. For example:
use File::Basename; print "$INC{'File/Basename.pm'}\n";

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2022-10-05 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (25 votes). Check out past polls.

    Notices?