Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Getting all subpaths from a path

by GrandFather (Saint)
on Mar 28, 2021 at 20:27 UTC ( [id://11130528]=note: print w/replies, xml ) Need Help??


in reply to Getting all subpaths from a path

You might try using a hash of hash keyed by a directory where the value is a hash of all the sub-directories or undef if this is a terminal entry. That makes editing links as easy as copying the value to a new key and deleting the old key.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-23 16:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found