Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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/) { ... }


Comment on Re: Checking for occurrence in comma separated string
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (17)
As of 2015-07-02 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls