The far better choice is to use an array of arrays instead. See perldsc.
Update: See also Why it's stupid to `use a variable as a variable name'
In reply to Re^2: adding number to array name
by friedo
in thread adding number to array name
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |