in reply to Assign scalar to array
It looks like you should be using a Hash of Arrays or an Array of Arrays instead of twelve separate scalars and twelve separate arrays.