|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Strange grep and matching behaviour...by virtualsue (Vicar) |
| on May 22, 2002 at 17:28 UTC ( [id://168595]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Try something like :
Though I don't see why your grep example didn't work. (my @nonfubar = grep !/fubar/, @lines;)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||