in reply to Re^2: How to determine absolute path of current Perl file?
in thread How to determine absolute path of current Perl file?

Then don't change the directory or try to find the current directory at program start by using a BEGIN block.

  • Comment on Re^3: How to determine absolute path of current Perl file?

Replies are listed 'Best First'.
Re^4: How to determine absolute path of current Perl file?
by FreeBeerReekingMonk (Deacon) on Feb 29, 2016 at 21:42 UTC
    Well, all you need to do is to make sure your PM is the first "required" in the list of modules... that should be enough to ensure correct cwd...