The stupid question is the question not asked | |
PerlMonks |
Re: rel2abs doesn't resolve relative paths?by halley (Prior) |
on Jun 05, 2003 at 15:31 UTC ( [id://263374]=note: print w/replies, xml ) | Need Help?? |
The definition of "absolute" just means it starts with a slash. Some people refer to your intended result as a "canonical" path, and removing all backtracking as the "canonicalization" of a path. There are other elements to canonicalization, such as discovering aliased mount points or symlinks. Perhaps something like this will work for you.
--
In Section
Seekers of Perl Wisdom
|
|