Don't ask to ask, just ask | |
PerlMonks |
Re: Merging two data setsby InfiniteSilence (Curate) |
on Jun 13, 2014 at 20:28 UTC ( [id://1089849]=note: print w/replies, xml ) | Need Help?? |
Think in the following order,
Makes..
Analysis: Your code was creating a hash with simple elements when what you really wanted was a hash of array references (incorrect choice of data structure). When you have > 1 element you can iterate over them and get them all. Celebrate Intellectual Diversity
In Section
Seekers of Perl Wisdom
|
|