Re: r25807 - docs/Perl6/Spec

2009-03-14 Thread Larry Wall
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

Re: r25807 - docs/Perl6/Spec

2009-03-14 Thread Jon Lang
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:    

Re: r25807 - docs/Perl6/Spec

2009-03-12 Thread Jon Lang
+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