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

Re: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20

by webfiend (Vicar)
on Dec 09, 2013 at 17:06 UTC ( [id://1066305]=note: print w/replies, xml ) Need Help??


in reply to use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20

It makes some sense to me. My preference has been for the @{ ... } style of dereferencing. That style becomes cumbersome when ... is a large expression. I would hit the end of the expression and bounce back to the start of the block to remind myself what was needed. My workaround for that was to add temporary variables whose only purpose was to make @{ ... } easier to read.

...->@* reduces the need for those temporary variables because it allows a clear "treat this thing right here like an array." I don't know if this is better or worse, considering that we've been doing it the other way for years. It's just different. I'll try it, because I am a sucker for syntax.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-16 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found