Most probably there is a module doing all this.
Look into File::Path and similar namespaces on CPAN
have a look into Path::Tiny, it seems to do the job
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: rel2abs of a path with tilde
by LanX
in thread rel2abs of a path with tilda
by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |