Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: reg exp to find presence of value in a list of comma seperated listby Anonymous Monk |
on Nov 18, 2009 at 14:40 UTC ( [id://807922]=note: print w/replies, xml ) | Need Help?? |
Depending on the OP's needs, Perl's grep function might be useful.
http://perldoc.perl.org/functions/grep.html Just search the list returned by grep to see if it's empty or not.
In Section
Seekers of Perl Wisdom
|
|