in reply to array matching problems
for ( 0 .. $#numbers ) { push @{$h{$numbers[$_]}}, $strings[$_]; } for ( sort { $a <=> $b } keys %h ) { print join('', @{$h{$_}}), "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: array matching problems
by Anonymous Monk on Jul 29, 2004 at 10:18 UTC | |
by borisz (Canon) on Jul 29, 2004 at 11:00 UTC |