Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Comparing string to array elements

by Lotus1 (Vicar)
on Jan 13, 2017 at 16:04 UTC ( [id://1179527]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Comparing string to array elements
in thread Comparing string to array elements

Yes, I used the s modifier in both of the regex's in my example. I changed my node a little to make clear I was saying my example might not be the most efficient. I wasn't referring to the use of the s modifier.

  • Comment on Re^3: Comparing string to array elements

Replies are listed 'Best First'.
Re^4: Comparing string to array elements
by R56 (Sexton) on Jan 14, 2017 at 02:49 UTC

    Sorry for not responding earlier. I agree, it might be easier to do this than to compare 2 arrays. It's not as efficient as I've already tested it, but I'll work around it and see what i can do. Many thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found