in reply to Re: Logical AND
in thread Logical AND

If $freq is pulled out of a file it may have a \n on it as well you don't show us how it is set so this is just a shot in the dark but if you are splitting from a flat file to get $freq then you may want to chomp the line first to pull out the \n. In any case $freq ne 'FREE' =)

-Waswas