My brain is broken.
code:
 
$errorpile[3] ;declaration of array with 4 slots
$test = "This is a test." ;test string
$errorpile[2] = $test ; assign slot 2 to $test
? $errorpile[2] ;print slot 2

I was hoping this would print "This is a test."
Compile error on line:
$errorpile[2] = $test

Please help. Thanks