Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: RFC: Idiom for named read-write arguments (aliases) instead of using $_[0] etc

by davido (Archbishop)
on Sep 02, 2012 at 17:07 UTC ( #991309=note: print w/ replies, xml ) Need Help??


in reply to Re^2: RFC: Idiom for named read-write arguments (aliases) instead of using $_[0] etc
in thread RFC: Idiom for named read-write arguments (aliases) instead of using $_[0] etc

When I first /msg'ed you to inquire whether you saw any differences, I at the time didn't either, and it wasn't until I investigated further that I realized there should be a fatal runtime error (and there is) with the non-unpacked version.

Anyway, you present good arguments, but I am stubborn against considering it a new Perl idiom that should find its way into real code. I do like Moritz's "use perl6" version, because of how explicit it is, but still have concerns. :)

Anyway, great RFC, as it produced good comments.


Dave


Comment on Re^3: RFC: Idiom for named read-write arguments (aliases) instead of using $_[0] etc

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-08-30 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls