if ( grep { exists $myhash{ $_ } } @pred ){ $tp++; } else { $fp++; } [download]
In reply to Re: How to Do Multiple OR in For Loops by Anonymous Monk in thread How to Do Multiple OR in For Loops by neversaint