in reply to how to create an array of an array?
my @selected; foreach $record (...) { if (...) { push @selected, $record; } } [download]