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

Please, you should really file a bugreport against Cwd.

Maybe they can't fix cwd() b/c of backwards compatibility but should at least clarify the documentation.

From my POV it's already silly to call two different routines getcwd() and cwd()

So you could suggest to add a new pwd() which always does something like `pwd -L`

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery