http://qs321.pair.com?node_id=395622


in reply to How do I get the full path to the script executing?

or even Cwd
use stict; use Cwd qw(abs_path); my $path = abs_path($0);

Replies are listed 'Best First'.
Re: Answer: How do I get the full path to the script executing?
by Anonymous Monk on Oct 02, 2004 at 13:49 UTC
    Coincidentally, that's what File::Spec uses underneath