in reply to Re: Pushing a hashref into an arrayin thread Pushing a hashref into an array
foreach (@{ ref $hr eq q/HASH/ ? [ $hr ] : $hr }) [download]