in reply to Re^7: Put references to array of hash elements in an array
in thread Put references to array of hash elements in an array
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Put references to array of hash elements in an array
by choroba (Cardinal) on Aug 03, 2018 at 10:54 UTC | |
by tel2 (Pilgrim) on Aug 06, 2018 at 05:25 UTC |