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 (EVAL_13:31) called from Sub 'parrot;PCT;HLLCompiler;eval' pc 892 (src\PCT\HLLCompiler.pir:50 8) called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1227 (src\PCT\HLLCompiler. pir:674) called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1403 (src\PCT\HLLCompil er.pir:762) called from Sub 'parrot;Perl6;Compiler;main' pc 16408 (perl6.pir:168) and hung up 2008/12/2 Moritz Lenz via RT <[EMAIL PROTECTED]> > On Mon Dec 01 04:50:03 2008, tantra wrote: > > On winXp(SP3) on this test i have racudo hungup: > > Which test? > > Moritz > >