Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: List directory(s)

by jeepj (Scribe)
on May 23, 2008 at 08:22 UTC ( [id://688105]=note: print w/replies, xml ) Need Help??


in reply to List directory(s)

not tested, written on the fly:
my $filename="/usr/local/bin/perl"; my $accu=""; my $nb=0; map{$nb++;$accu.="/".$_;print "$nb. $accu\n";} split(/\//, $filename);

Log In?
Username:
Password:

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

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

    No recent polls found