Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by sherab (Scribe)
on Nov 17, 2009 at 21:16 UTC ( [id://807804]=note: print w/replies, xml ) Need Help??


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

If you're on perl 5.10 and greater, you could put it into an array and then check using perl smart operator.A good example of how to use this is here. It's not using a regexp but it might be helpful if you are trying to see if "x" value is in an array of values.
  • Comment on Re: reg exp to find presence of value in a list of comma seperated list

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found