Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Build tree data structure from DB (flat) data; function golf

by gryphon (Abbot)
on Aug 30, 2006 at 19:59 UTC ( [id://570464]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $last_key = delete $_->{ $key_name };
    push @{ $build_box }, $_;
    
  2. or download this
    push @{ $build_box }, $_;
    $last_key = delete $build_box->[-1]{$key_name};
    

Log In?
Username:
Password:

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

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

      No recent polls found