for my $op ($filter [0]->[1]) { if (eval "$hash{$filter[0]->[0]} $op $filter[0 +]->[2]") { print OUTFILE $line, "\n"; } }
This seems to work. Thanks! If any one else has other suggestions please inform!
In reply to Re^2: How to set relational operators to variables to be used by program
by dkhalfe
in thread How to set relational operators to variables to be used by program
by dkhalfe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |