in reply to perl grep with regex
@arr3[1] looks very wrong, try $arr3[1]
Why don't you use warnings ?
Cheers Rolf
(addicted to the Perl Programming Language)