foreach my $id(@ID){ print "$id\n" if grep(/^$id$/, @files); } [download]
In reply to Re^2: Check If 2 Arrays Match by gulden in thread Check If 2 Arrays Match by facedag