Author: larry Date: Tue Oct 10 16:55:33 2006 New Revision: 13022 Modified: doc/trunk/design/syn/S03.pod
Log: Clarification of non-ambiguity of «*» Modified: doc/trunk/design/syn/S03.pod ============================================================================== --- doc/trunk/design/syn/S03.pod (original) +++ doc/trunk/design/syn/S03.pod Tue Oct 10 16:55:33 2006 @@ -770,6 +770,15 @@ $left «*» $right +[Note: if you are worried about Perl getting confused by something like this: + + foo «*» + +then you shouldn't worry about it, because unlike previous versions, +Perl 6 never guesses whether the next thing is a term or operator. +In this case it is always expecting a term unless C<foo> is predeclared +to be a 0-ary sub.] + The upgrade never happens on the "blunt" end of a hyper. If you write $bigger «*« $smaller