Using the @AoH that I have (as it is), is there a way I can rewrite this line:
while (@age_ref = \$sth->fetchrow_array)
so that it replaces the age values in @AoH, maybe using similar principles to those which allow this to update the age values:
($age_ref0,$age_ref2) = (\$AoH[0]{age},\$AoH[2]{age});
If not, what's preventing this?
In reply to Re^8: Put references to array of hash elements in an array
by tel2
in thread Put references to array of hash elements in an array
by tel2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |