...except that you got the logic backwards.
I need an if statement to say something like "if grep can't find 'home' in a word, print the word."
foreach (@words) { print "$_\n" unless /home/; }
In reply to Re: Re: font color="#ff0000"IF NOT! IF NOT!/font
by myocom
in thread IF NOT! IF NOT!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |