http://www.perlmonks.org?node_id=938277


in reply to Re: help reassigning hash with arrayref
in thread help reassigning hash with arrayref

I want to end up with:
$hash{one} = { $key => $tmp{$key} };
But for some reason the array is being assigned in scalar context.