Perl: the Markov chain saw | |
PerlMonks |
Re: Collapsing pathsby tirwhan (Abbot) |
on Dec 05, 2007 at 12:45 UTC ( [id://655077]=note: print w/replies, xml ) | Need Help?? |
As also pointed out in File::Specs documentation, you can use the "realpath" function from Cwd for this. This will however return an absolute path and only resolve paths which actually exist in your filesystem (this is a feature, not a bug, because it's the only way to correctly handle symlinks). All dogma is stupid.
In Section
Seekers of Perl Wisdom
|
|