Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: reg exp to find presence of value in a list of comma seperated list

by vitoco (Pilgrim)
on Nov 18, 2009 at 02:42 UTC ( #807852=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "found\n" if $list =~ m/\bvalue1\b/;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://807852]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-07-26 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls