in reply to Constructing HoHoA from AoA
my %hash; for my $nar ( @nar ) { my ( $key1, $key2 ) = split /\s*-\s*/, shift @$nar; push @{ $hash{ $key1 }{ $key2 } }, $nar; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Constructing HoHoA from AoA
by Limbic~Region (Chancellor) on Jan 02, 2006 at 07:07 UTC |