Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Tree Traversal Script/Nested Sets

by Raad (Acolyte)
on Jul 13, 2004 at 20:19 UTC ( [id://374129]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %HoA =(
    ##id =>["term","parent_id","left_id", "right_id"]
    ...
    6 => ["Fingers","5","",""],
    7 => ["Thumbs","6","",""]
    );
    
  2. or download this
    my %HoA;
    my $k;
    ...
    local $" = "|";
    print "$k = @{$HoA{$k}}\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found