in reply to How to create a non uniform multi-dimention array with push?
push( @{$log[$error_type_index]}, $error_count ); [download]