Does Path::Tiny::realpath do what you want?
$ perl -MPath::Tiny -E 'say path(q#../script.sh#)->realpath' /home/script.sh
🦛
In reply to Re: How to get the unique canonical path of a given path?
by hippo
in thread How to get the unique canonical path of a given path?
by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |