Thank you for your report! However, doc bugs are reported on github. I have moved your ticket there: https://github.com/perl6/doc/issues/1299
On 2017-05-07 20:49:39, ben-goldb...@hotmail.com wrote: > On https://docs.perl6.org/language/rb-nutshell, it says: > > > * No space allowed before the opening parenthesis of an argument > list. > > foo (3, 4, 1); # Not right in Ruby or Perl 6 (in Perl 6 this would > # try to pass a single argument of type List to foo) > foo(3, 4, 1); # Ruby and Perl 6 > foo 3, 4, 1; # Ruby and Perl 6 - alternative parentheses-less style > > This doc was probably written before the GLR, because even if the ‘foo > (’ version does produce a > single argument of type List, then the “Single argument rule” makes it > behave the same as the others. > > Another bug, further down the the file is: > > > perl6 example.p6 --length=abc > Usage: > c.p6 [--length=<Int>] [--file=<Any>] [--verbose] > > Clearly that’s a copy-pasto, since the file can’t be named c.p6 and > example.p6 both at the same time. >