RoUS has asked for the wisdom of the Perl Monks concerning the following question:
How can I determine the full absolute filesystem path to the current file? Specifically, I have a module that needs to know its path in order to access another file in the same location. __FILE__ is giving me a relative path, somtimes funky, and I'm not sure to what it thinks it's relative..
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Full path to the current file?
by davidrw (Prior) on Jan 08, 2008 at 14:59 UTC | |
by svenXY (Deacon) on Jan 08, 2008 at 15:02 UTC | |
by davidrw (Prior) on Jan 08, 2008 at 16:01 UTC | |
by RoUS (Initiate) on Jan 08, 2008 at 16:42 UTC | |
Re: Full path to the current file?
by cdarke (Prior) on Jan 08, 2008 at 20:30 UTC | |
Re: Full path to the current file?
by cLive ;-) (Prior) on Jan 08, 2008 at 16:11 UTC |
Back to
Seekers of Perl Wisdom