Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Lexical %+ %- and more?

by TimToady (Parson)
on Oct 22, 2008 at 17:56 UTC ( [id://718812]=note: print w/replies, xml ) Need Help??


in reply to Lexical %+ %- and more?

The original design of @+ and @- was a complete botch, and 5.10 extends that botch to the use of hashes. Perl 5 should move toward the Perl 6 model of a single lexical variable containing all the information from the last match, and then any variables like $1 are just aliases into that structure. Parallel global arrays and hashes are madness, even if I could keep straight which one is the beginning and which one is the end, which I can't. And parallel hashes force you to do the hash lookup twice. Madness...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-20 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found