in reply to Re: Using the 'if' statement...
in thread Using the 'if' statement...
print "True","\n" if ( grep /$country/, @countries ); # if present print "False","\n" if (! grep /$country/, @countries ); # if not prese +nt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using the 'if' statement...
by ikegami (Patriarch) on Jul 09, 2008 at 10:05 UTC | |
|
Re^3: Using the 'if' statement...
by DrHyde (Prior) on Jul 09, 2008 at 10:29 UTC |