Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Full path to the current file?

by cdarke (Prior)
on Jan 08, 2008 at 20:30 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-16 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found