On 10.03.2009, at 03:24, Chris Devers wrote:

This isn't necessarily a Mac-specific question, but I've gotten rusty
and I'm having a brain fart here.

How can a Perl script reliably, portably resolve the path inside which
it is running? Not the PWD of the caller, mind you, but the actual
current full path of the script itself?


The core module FindBin does that. An alternative Dir::Self (newer, nicer)
is availablew from CPAN.


Reply via email to