Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by BrowserUk (Pope)
on Dec 03, 2013 at 05:03 UTC ( #1065373=note: print w/ replies, xml ) Need Help??


in reply to Re^4: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
in thread use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20

You were somehow expecting an answer to your "Why?" that didn't involve opinion?

No. I was expecting a justifiction to back up the opinion expressed. You gave none.

Start with: <lvalue(s)> = @{ <some reference expression> };

I contend that:

  • One thing you want to know is: "Where are the value(s) being assigned coming from?":

    And the above expression it is easy to see that: "it's getting the values by dereferencing and array ref".

  • Only then do you think about: "Where is it getting the array ref from?"

    Which you get by examining the (simple or complex) expression contained.

This new syntax: <lvalue(s)> = <some reference expression>->@*; forces you to skip to the end to work out what is going on.

That's an opinion backed by reason.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^5: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
Select or Download Code
Re^6: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
by ysth (Canon) on Dec 03, 2013 at 05:30 UTC
    Who said anything about =?
    --
    A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |

      Um. I did!


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-12-25 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls