Unfortunately getcwd() returns the same result as cwd.
However, your other comments prompted me to look at $ENV{PWD} - and that variable actually contains the correct path (as I was hoping to find it). So that solves my problem. Thanks.
In reply to Re^2: Resolving correct directory path in a symlinked directory
by beermad
in thread Resolving correct directory path in a symlinked directory
by beermad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |