in reply to Perl Script own path

I'd recommend checking out the Cwd module. It's got multiple functions to get that information in different formats.

Replies are listed 'Best First'.
Re^2: Perl Script own path
by cdarke (Prior) on Jul 25, 2011 at 11:50 UTC
    Cwd is usually used to find the current working directory - not necessarily the same as the directory in which the script resides.