Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Checking for occurrence in comma separated string

by phenom (Chaplain)
on Oct 25, 2005 at 10:54 UTC ( #502657=note: print w/replies, xml ) Need Help??


in reply to Checking for occurrence in comma separated string

I think you want that the other way around:
if($thestring =~ /$thecheck/) { ... }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://502657]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2016-12-05 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (71 votes). Check out past polls.