Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Anonymous Monk
on Nov 25, 2013 at 10:56 UTC ( #1064210=note: print w/ replies, xml ) Need Help??


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

In short if the \= operator was overloaded so that it could be either binary or unitary (left-hand), then the problem goes away.

An even worse idea :)


Comment on Re^4: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
Re^5: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
by einhverfr (Pilgrim) on Nov 26, 2013 at 09:34 UTC
    If it is an even worse idea, then my conclusion is that this whole thing is a bad idea and we should just stick to the current dereference syntax, i.e. ${ $object->{foo} }.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-12-27 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (177 votes), past polls