Depending on how cross-platform you need to be, you might use updir() and related functions from File::Spec instead of ...
In reply to Re^2: cleaning up absolute path without resolving symlinks
by chromatic
in thread cleaning up absolute path without resolving symlinks
by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |