in reply to Re^4: help with an array of arrays
in thread help with an array of arrays

You want to replace c style for with list for?

Try this

my $min_diff_past = max (@all_date_diffs_past); for my $arr ( @AoA_past ) { if ($arr->[1]==$min_diff_past) { print $arr->[0]."\t"; } }
(untested, you seem to confuse min and max)

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