Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by gryphon (Abbot)
on Aug 30, 2006 at 19:59 UTC ( #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
Node Status?
node history
Node Type: note [id://570464]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2014-10-23 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (123 votes), past polls