While you can use symbolic references under the use strict; pragma using the additional no strict refs; pragma and global variables, this is very generally considered as a (very) bad idea. It is much better practice to use one more level of reference in your data structure, such as an hash of arrays in your case (if I understand you correctly).