Something about the cascade calling of sort() in rakudo.

2010-03-23 Thread Hongwen Qiu
Hi, I'm new to Perl6. And just ran the first example in the perl6 book. But, it refused to work. It complains as follows: Too many positional parameters passed; got 2 but expected between 0 and 1 I find out that the problem is in the line: my @sorted = @names.sort({ %sets{$_} }).sort({

Re: Something about the cascade calling of sort() in rakudo.

2010-03-23 Thread Moritz Lenz
Hi, Hongwen Qiu wrote: Hi, I'm new to Perl6. And just ran the first example in the perl6 book. But, it refused to work. It complains as follows: Too many positional parameters passed; got 2 but expected between 0 and 1 I find out that the problem is in the line: my @sorted =

Re: Something about the cascade calling of sort() in rakudo.

2010-03-23 Thread Solomon Foster
2010/3/23 Moritz Lenz mor...@faui2k3.org: Hi, Hongwen Qiu wrote: Hi, I'm new to Perl6. And just ran the first example in the perl6 book. But, it refused to work. It complains as follows: Too many positional parameters passed; got 2 but expected between 0 and 1 I find out that the problem