Re: [perl #60964] racudo hungup after parse

2008-12-02 Thread Patrick R. Michaud
On Tue, Dec 02, 2008 at 02:08:08AM +0300, ruslan usifov wrote: > sub test(@test is copy, $as) > { > @test[0] = 123; > }; > > my @test = (1, 2, 3, 4); > test(@test); > > print @test[0]; > > After that perl6.exe will produce: > > too few arguments passed (1) - 2 params expected Rakudo is cor

Re: [perl #60964] racudo hungup after parse

2008-12-01 Thread ruslan usifov
I'm sorry, that is: sub test(@test is copy, $as) { @test[0] = 123; }; my @test = (1, 2, 3, 4); test(@test); print @test[0]; After that perl6.exe will produce: too few arguments passed (1) - 2 params expected current instr.: 'test' pc 162 (EVAL_13:64) called from Sub '_block11' pc 85 (EVA