# New Ticket Created by  Ilya Belikin 
# Please include the string:  [perl #60806]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60806 >


Hi!
Rakudo do topic as perl 5:

>my @a = <a b c>; say @a[-1];
c

but in spec:
http://perlcabal.org/syn/S09.html#Negative_and_differential_subscripts

"Using a negative index on an array of fixed size will fail if the
resulting number of elements exceeds the defined size."

Unfortunately [*-1] do not implemented, but we have .end for that now.  Mäsak++

Ilya

Reply via email to