in reply to Re^2: Using the 'if' statement...in thread Using the 'if' statement...
@countries = qw(India Germany); $country = 'd'; print "True","\n" if ( grep /$country/, @countries ); [download]