in reply to importing all the values stored in an HoH into an array
my @array=(); for my $word (keys %{$has{$w1}->{$w2}}) { push @array, ($word) x $hash{$w1}->{$w2}->{$word}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: importing all the values stored in an HoH into an array
by chinamox (Scribe) on Oct 31, 2006 at 14:30 UTC |