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

Re: most terse regex match count

by holli (Abbot)
on May 17, 2019 at 09:30 UTC ( [id://11100157]=note: print w/replies, xml ) Need Help??


in reply to most terse regex match count

map gets abused so often, it can take another hit:
if ( 2 == map $_, $outs =~ m|A|gs )
Or maybe it's no abuse. Could be a plain map $_, construct gets optimized by perl somehow?


holli

You can lead your users to water, but alas, you cannot drown them.

Replies are listed 'Best First'.
Re^2: most terse regex match count
by hippo (Bishop) on May 17, 2019 at 09:52 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11100157]
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-04-19 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found