Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Collapsing paths

by shmem (Chancellor)
on Dec 05, 2007 at 14:44 UTC ( [id://655100]=note: print w/replies, xml ) Need Help??


in reply to Collapsing paths

use Cwd qw(abs_path);
qwurx [shmem] ~ > perl -MCwd=abs_path -le 'print abs_path("/usr/lib/pe +rl5/../../lib/perl5")' /usr/lib/perl5

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-24 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found