my $ar = [ @{$hashref->{$key}} ];
In reply to Re: How Not to Alter Hash in HoA while Counting Array by djohnston in thread How Not to Alter Hash in HoA while Counting Array by monkfan