Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Missing from File::Spec(?)

by Fastolfe (Vicar)
on Sep 14, 2000 at 23:13 UTC ( #32536=note: print w/replies, xml ) Need Help??


in reply to Missing from File::Spec(?)

I believe the functions you note (specifically rel2abs()) will do this. They are in the man pages for File::Spec, but, like you, they don't exist in the modules installed on my system. They are either new with 5.6 or are just a new feature of File::Spec that I don't have.
print rel2abs("../../../../../etc/./passwd"); # "/etc/passwd"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://32536]
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: (5)
As of 2023-09-28 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?