Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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
Replies are listed 'Best First'.
Re^5: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
by einhverfr (Friar) 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 about the Monastery: (4)
As of 2016-02-14 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (470 votes), past polls