in reply to Re^4: help with an array of arrays
in thread help with an array of arrays
Try this
(untested, you seem to confuse min and max)my $min_diff_past = max (@all_date_diffs_past); for my $arr ( @AoA_past ) { if ($arr->[1]==$min_diff_past) { print $arr->[0]."\t"; } }
NB: The foreach keyword is actually a synonym for the for keyword, so you can use either.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|