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

Re: Storing regexen in a DB and using them

by FloydATC (Hermit)
on Jan 28, 2014 at 11:42 UTC ( #1072342=note: print w/ replies, xml ) Need Help??


in reply to Storing regexen in a DB and using them

No special action is required, the following works as expected as long as $regex contains a valid regex:

if ($input =~ /$regex/) { ... }
-- FloydATC

Time flies when you don't know what you're doing


Comment on Re: Storing regexen in a DB and using them
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-09-18 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (116 votes), past polls