Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: matching elements in a list in a logical OR fashionby hardburn (Abbot) |
on Jun 15, 2004 at 13:57 UTC ( [id://366891]=note: print w/replies, xml ) | Need Help?? |
For the metacharacters case, how about this:
That lets you ditch the map and array refernceing/dereferencing inside the regex. Though it is arguably not as clear. ----
In Section
Seekers of Perl Wisdom
|
|