Because the flip-flop operator will only return true or false and will never equal 10, 11, 12, 13, 14 or 15. You need something like:
if (grep $frequency == $_, 10 .. 15) {print "Yes"}
In reply to Re: querying a range of values
by jwkrahn
in thread querying a range of values
by plendid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |