laziness, impatience, and hubris | |
PerlMonks |
Re^2: Getting the absolute path of a script, without PWDby perlancar (Hermit) |
on Jul 15, 2021 at 23:57 UTC ( [id://11135048]=note: print w/replies, xml ) | Need Help?? |
Path::Tiny's absolute() uses getcwd() so it still resolves symlinks when getting the current directory.
In Section
Seekers of Perl Wisdom
|
|