Your index and increment ought not to be separate from your loop. That's gross.
for my $ix ( 0 .. $#$box ) { $box->[ $ix ]{ 'value' } = $results[ $ix ]; }
In reply to Re: Merging an array into an AoH
by diotalevi
in thread Merging an array into an AoH
by neniro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |