in reply to Re^2: How to get the unique canonical path of a given path?
in thread How to get the unique canonical path of a given path?
I don’t think you’re going to find much off the shelf because the posix/*nix way of "canonical" path is to expand out and replace symlinks (see Pathname Resolution). I think closest you might get would be rolling something using File::Spec and splitdir to unroll (maybe with glob for tilde handling beforehand), process for dot(s), then concatenate the remaining elements back.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|