in reply to Re: Perl Script own path
in thread Perl Script own path

Cwd is usually used to find the current working directory - not necessarily the same as the directory in which the script resides.