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

Re^4: accessing the result of a match as an array

by AnomalousMonk (Archbishop)
on Dec 24, 2009 at 23:21 UTC ( [id://814307]=note: print w/replies, xml ) Need Help??


in reply to Re^3: accessing the result of a match as an array
in thread accessing the result of a match as an array

What's the advantage of your latter snippet ...

None. In the context of the OP, it's essentially a Stupid Regex Trick. But then, in the same context
    pop @{[ whatever ]}
is essentially a stupid array dereference trick.

Update: ikegami nailed the reason why.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2024-04-25 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found