in reply to How to Do Multiple OR in For Loops

if ( grep { exists $myhash{ $_ } } @pred ){ $tp++; } else { $fp++; }