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
In reply to Re: Reducing HoH to AoA
by Limbic~Region
in thread Reducing HoH to AoA
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |