Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re3: Optimizing a string processing sub

by chromatic (Archbishop)
on Jan 08, 2003 at 22:02 UTC ( [id://225367]=note: print w/replies, xml ) Need Help??


in reply to Re3: Optimizing a string processing sub
in thread Optimizing a string processing sub

chromatic's context chaining:

my $count = () = $x =~ /(foo)/g;

Update: I'm not claiming to have originated it; I just liked the alliteration.

Log In?
Username:
Password:

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

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

    No recent polls found