my @result = map { my $key = $_; grep m/^\d\|\d\|\d\|$key\|\d$/, @records } @keys +;
-M
Free your mind
In reply to Re: Using map and grep to Sort one list using another list
by Moron
in thread Using map and grep to Sort one list using another list
by AntsPants
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |