Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: How to check whether my array contains element xby MidLifeXis (Monsignor) |
on Jan 17, 2013 at 13:33 UTC ( [id://1013781]=note: print w/replies, xml ) | Need Help?? |
You might want to change /^$value$/ to /^\Q$value\E$/, especially if $value may contain re metacharacters, but it depends on the application.
--MidLifeXis
In Section
Seekers of Perl Wisdom
|
|