@countries = qw(India Germany); $country = 'd'; print "True","\n" if ( grep /$country/, @countries );
In reply to Re^3: Using the 'if' statement...
by DrHyde
in thread Using the 'if' statement...
by rsriram
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |