There's more than one way to do things | |
PerlMonks |
Re: Relative to absolute pathby rrwo (Friar) |
on Jul 12, 2004 at 20:36 UTC ( [id://373730]=note: print w/replies, xml ) | Need Help?? |
Take a look at File::Spec. There is a canonpath (canonical path) functuon that should clean up a path like that, as well as a rel2abs function that should convert it to an absolute path.
In Section
Seekers of Perl Wisdom
|
|