in reply to Reducing HoH to AoA
Cheers - L~Ruse Data::Dumper; my $aoa = []; for my $key ( keys %$start ) { push @$aoa , [ $key , keys %{ $start->{$key} } ]; } print Dumper($aoa);
Oh - once you added code to your node, this doesn't make sense any more - see below
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Reducing HoH to AoA
by dragonchild (Archbishop) on Apr 01, 2004 at 16:18 UTC | |
by Limbic~Region (Chancellor) on Apr 01, 2004 at 16:38 UTC |