for my $op ($filter [0]->[1]) { if (eval "$hash{$filter[0]->[0]} $op $filter[0]->[2]") { print OUTFILE $line, "\n"; } }