|laziness, impatience, and hubris|
Re: Strange bevahiour of grep function.by LanX (Canon)
|on May 14, 2013 at 15:57 UTC||Need Help??|
Hard to read, but if you want to invert a logical clause you also have to switch and to or and invert all sub-clauses.
And consider to use List::MoreUtils 'any' instead of grep.
( addicted to the Perl Programming Language)