Author: larry Date: Wed Apr 5 16:37:32 2006 New Revision: 8566 Modified: doc/trunk/design/syn/S03.pod
Log: Typo, plus explicate [.foo] meaning. Modified: doc/trunk/design/syn/S03.pod ============================================================================== --- doc/trunk/design/syn/S03.pod (original) +++ doc/trunk/design/syn/S03.pod Wed Apr 5 16:37:32 2006 @@ -303,7 +303,7 @@ &infix:<dehash> ::= postcircumfix:<{ }>; $x = [dehash] $a,'foo','bar'; # $a<foo><bar>, not $a<foo bar> -Note that, because a reduce is a list operator, the argument list to is +Note that, because a reduce is a list operator, the argument list is evaluated in list context. Therefore the following would be incorrect: $x = [dehash] %a,'foo','bar'; @@ -318,6 +318,9 @@ @args = (\%a,'foo','bar'); $x = [dehash] @args; +Note also that C<[.foo]> always means C<[$_.foo]>, never a reduce operator. +Infix operators are not allowed to start with a dot. + =head1 Junctive operators C<|>, C<&>, and C<^> are no longer bitwise operators (see L</Operator