Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Performance penalty of using qr//

by dave_the_m (Monsignor)
on Dec 21, 2017 at 12:44 UTC ( [id://1205977]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $r = qr/(.)/;
    "a" =~ $r;
    print "$1\n";
    { "b" =~ $r; print "$1\n"; }
    print "$1\n";
    
  2. or download this
    a
    b
    a
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-25 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found