Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How do you say %+ in English?

by ikegami (Patriarch)
on Feb 10, 2009 at 17:07 UTC ( [id://742826]=note: print w/replies, xml ) Need Help??


in reply to How do you say %+ in English?

%LAST_PARENT_MATCH works due to an implementation side-effect (which is why the name doesn't quite fit).
>perl -MEnglish -le"'foo' =~ /(?<n>.*)/; print $LAST_PAREN_MATCH{n}" foo

Update: Reworded for clarity

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-19 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found