Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Precompiling qr/.../o question

by hardburn (Abbot)
on Apr 02, 2008 at 19:11 UTC ( [id://678026]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (1 .. 5) {
        print "Match!\n" if $some_string =~ /very long regex/o;
    }
    
  2. or download this
    for (1 .. 5) {
        print "Match!\n"
            if $some_string =~ /very long regex $_ more regex/o;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-28 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found