in reply to Re^11: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20 (context)
in thread use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
(you also seem to be leaning heavily on some rather strict definition of "list" that you have failed to qualify, that I have seen).
The model supposedly broken by the change is that $ returns a scalar and @ returns a list[1]. I understood this to mean "a variable number of scalars". Is there another possibility?
You may have interpreted the word "context" in a rather strict fashion
My posts abolish the claim that introducing $a->@* "breaks the original model of sigils completely"[2], that model supposedly being that the sigil is an indicator of the the type of the value returned. It's not.
To determine whether an expression starting with $ returns, one must also examine the rest of the expression and/or the context (in the larger sense). ($x vs @a = $x->(); vs $a = $x->();)
To determine whether an expression starting with @ returns, one must also examine the context (in the larger sense). (@a = @x; vs $a = @x;)
If I hadn't interpreted "context" narrowly, shmem would have been arguing against himself.[3]. Any splitting of hairs is in trying to understand his disagreement, for he has yet to mention which of my premises he disagrees with, and he has yet to point out a logic error.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^13: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20 (thanks)
by tye (Sage) on Dec 20, 2013 at 23:17 UTC |