in reply to Re^7: Definition of numerically equal and rationale for 'you' == 'me'
in thread Definition of numerically equal and rationale for 'you' == 'me'
Even in an imaginary Perl without sigils, the following code could be parsed unambiguously:No, it cannot. Stepping away the additional problem with say (the first x can be seen as a filehandle), you're forgetting that sigils make barewords possible. You're x x x can be parsed in several ways:
or some combination there off. That is, if we'd dropped sigils, a bare x can be a (scalar) variable, an operator, a class name, a subroutine, or the string "x".$x x $x x(x($x)) x::->x("x")
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^9: Definition of numerically equal and rationale for 'you' == 'me'
by moritz (Cardinal) on Mar 03, 2012 at 13:32 UTC | |
by JavaFan (Canon) on Mar 03, 2012 at 14:14 UTC | |
by moritz (Cardinal) on Mar 03, 2012 at 14:53 UTC |