Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by oiskuu (Hermit)
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?
[LanX]: CB sidebar auto-expansion problem
[Eily]: "tail: warning: following standard input indefinitely is ineffective". I can't help but feel that tail is judging me...
[Your Mother]: Someone had to say it. Better it came from tail.
[LanX]: Cat Mama!
[Your Mother]: Das right.
[Eily]: actually I forgot to provide the filename as a parameter
LanX it reeks.
[Your Mother]: You know what they say, the reeky wheel gets the best price at cheese market.
[Eily]: well I had to google translate that
[Eily]: let me inform you that the Dutch reek translate into the Czech páchnout

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-03-27 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.