|
|
| "be consistent" | |
| PerlMonks |
Re: Array of hashes misbehaving?by Eliya (Priest) |
| on May 23, 2012 at 22:22 UTC ( #972114=note: print w/ replies, xml ) | Need Help?? |
|
This fixes the problem: ... Actually, in this particular case, you could also just not initialize the array, i.e. simply say
and let autovivification do the job.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||