Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Collapsing paths

by tirwhan (Abbot)
on Dec 05, 2007 at 12:45 UTC ( #655077=note: print w/ replies, xml ) Need Help??


in reply to Collapsing paths

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.


Comment on Re: Collapsing paths
Select or Download Code
Re^2: Collapsing paths
by rvosa (Curate) on Dec 05, 2007 at 18:59 UTC
    Thanks, that solved it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://655077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-03-27 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (600 votes), past polls