P is for Practical | |
PerlMonks |
Re^3: Getting the absolute path of a script, without PWDby hippo (Bishop) |
on Jul 15, 2021 at 12:28 UTC ( [id://11135027]=note: print w/replies, xml ) | Need Help?? |
Sure - there may be some cases where you might want the symlink name rather than the target. But that's not what you've asked. Your question says "... without PWD". Why impose this arbitrary restriction? If you want what $PWD gives, why not just use it? 🦛
In Section
Seekers of Perl Wisdom
|
|