# New Ticket Created by  Alex Jakimenko 
# Please include the string:  [perl #126800]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=126800 >


Code for 32-bit system:
my @a[-9999999999999999]; say +@a

Result:
-9999999999999999

Woohoo! Array with negative size!

On 64-bit it is a bit more tricky:
my @a[-9223372036854775808,-2]; say +@a

Result:
-9223372036854775808


Just disallow negative numbers and that's it.

Reply via email to