in reply to Type of arg 1 to push must be array (not private variable)
push @$data_ref, \%temp; [download]
Thanks!