![]() |
|
"be consistent" | |
PerlMonks |
Re^2: Getting the absolute path of a script, without PWDby perlancar (Hermit) |
on Jul 16, 2021 at 00:56 UTC ( #11135052=note: print w/replies, xml ) | Need Help?? |
Thanks ikegami. Agreed. The working directory is a location chosen by the user. Due to symlinks one might reach the same location through different paths. And this state is in bash, there's no way of knowing this state unless bash exposes it.
In Section
Seekers of Perl Wisdom
|
|