Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: How does one get all possible matches from regex?

by oiskuu (Friar)
on Dec 10, 2013 at 14:19 UTC ( #1066433=note: print w/ replies, xml ) Need Help??


in reply to Re: How does one get all possible matches from regex?
in thread How does one get all possible matches from regex?

Is this still a sound advice to give these days? The doc that you link to says:

As of the 5.005 release, the $& variable is no longer "expensive" the way the other two are.
Why Is $& Bad? gives a better technical explanation why one might want to avoid $&. Even so, the issue with $& is perhaps more of a concern for core module writers. Can you point to some recent benchmarks?

On a related note, does study() actually do anything in more recent perls?


Comment on Re^2: How does one get all possible matches from regex?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-12-25 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls