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} }.