Skip to content

Commit

Permalink
[&foo] is okay but [$foo] is too ambiguous
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Aug 12, 2012
1 parent 6aa4943 commit 7c9bbf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S03-operators.pod
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,8 @@ C<< prefix:<^> >>, upto operator

^$limit

Constructs a range of C<0 ..^ +$limit>. See L</Range and RangeIter semantics>.
Constructs a range of C<0 ..^ +$limit> or locates a metaclass as a shortcut
for C<$limit.HOW>. See L</Range and RangeIter semantics>.

=back

Expand Down Expand Up @@ -4874,8 +4875,7 @@ not thereby accept multiple arguments on the right side. You must use
the normal functional form to pass three or more positional arguments.

This form of operator is parsed with a precedence of addition.
A C<$> is acceptable in place of C<&>, but in either case the
next character must be either alphabetic or a left parenthesis.
The next character after C<&> must be either alphabetic or a left parenthesis.
Otherwise a normal infix operator starting with that character will
be assumed. Hence C<[&&]> parses as a form of the C<&&> operator.

Expand Down

0 comments on commit 7c9bbf5

Please sign in to comment.