2010/3/23 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 i
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 = @na
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({ %games{$_