There's more than one way to do things | |
PerlMonks |
Re^2: Check Array Elementsby morgon (Priest) |
on Jun 06, 2012 at 22:41 UTC ( [id://974849]=note: print w/replies, xml ) | Need Help?? |
This is wrong.
Counterexample: Your grep would still report 3, event though "GHI" is missing. And that is even without mentioning that the regex matches also enties like "XABCY".
In Section
Seekers of Perl Wisdom
|
|