in reply to Re^2: dynamically generated array variablein thread dynamically generated array variable
See Use strict and warnings for how to properly apply the strict pragma to your code.