in reply to Re: Getting the absolute path of a script, without PWD
in thread Getting the shell's version of working directory, without PWD's help

Path::Tiny's absolute() uses getcwd() so it still resolves symlinks when getting the current directory.
  • Comment on Re^2: Getting the absolute path of a script, without PWD