in reply to Re: help reassigning hash with arrayref
in thread help reassigning hash with arrayref
I want to end up with:
But for some reason the array is being assigned in scalar context.$hash{one} = { $key => $tmp{$key} };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: help reassigning hash with arrayref
by GrandFather (Saint) on Nov 15, 2011 at 23:29 UTC | |
by mhearse (Chaplain) on Nov 16, 2011 at 00:07 UTC | |
by Anonymous Monk on Nov 16, 2011 at 02:34 UTC |
In Section
Seekers of Perl Wisdom