On Thu, Mar 12, 2009 at 06:29:19PM -0700, Jon Lang wrote:
: +To declare an item that is parsed as a simple term, you must use the
: +form C term:foo , or some other form of constant declaration such
: +as an enum declaration. Such a term never looks for its arguments,
: +is never considered a
On Sat, Mar 14, 2009 at 7:29 AM, Larry Wall la...@wall.org wrote:
: So if I were to say:
:
: rand $n:
:
: is the compiler smart enough to notice that trailing colon and
: recognize this as an indirect method call rather than two adjacent
: terms?
No, currently under STD you get:
Author: lwall
Date: 2009-03-12 22:30:47 +0100 (Thu, 12 Mar 2009)
New Revision: 25807
Modified:
docs/Perl6/Spec/S03-operators.pod
Log:
Clarify value syntax inconsistency noticed by pmichaud++
Modified: docs/Perl6/Spec/S03-operators.pod
+To declare an item that is parsed as a simple term, you must use the
+form C term:foo , or some other form of constant declaration such
+as an enum declaration. Such a term never looks for its arguments,
+is never considered a list prefix operator, and may not work with
+subsequent