|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Full path to the current file?by cLive ;-) (Parson) |
| on Jan 08, 2008 at 16:11 UTC ( #661119=note: print w/ replies, xml ) | Need Help?? |
|
I have a feeling the proposed solutions above don't give you the path relative to the module, but to the script. Cwd is the simplest solution though:
but that won't tell you the path from the actual module. For that, you'll need to hard code the path to the module (I think): __FILENAME__ is your friend...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||