in reply to Ignorance Isnt Always Bliss
This snippet shows what is causing your error
my @a = (); $a[-1] = 1; [download]