http://www.perlmonks.org?node_id=11135059


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

You're 1 minute faster :-)