in reply to Re^2: Using the 'if' statement...
in thread Using the 'if' statement...

Needlessly uses a regexp, the regexp isn't anchored, and incorrectly assumes $country contains a regexps. Fix:

print "True","\n" if ( grep $_ eq $country, @countries );

I essentially posted that already.