negative index in perl6 array
is negative index not allowed in perl6? i tried my @test = (1 .. 20); @test[-1].say; OUTPUT Use of uninitialized value
Re: negative index in perl6 array
On Sat, Jun 20, 2009 at 00:58, Aruna Gokemykl...@gmail.com wrote: is negative index not allowed in perl6? i tried my @test = (1 .. 20); @test[-1].say; OUTPUT Use of uninitialized value You have to say @test[*-1].say; now