in reply to Re: Put references to array of hash elements in an array
in thread Put references to array of hash elements in an array
When reading a table with DBI into @age_ref, should this syntax update the age values in @AoH?
@age_ref = (\$AoH[0]{age},\$AoH[2]{age}); while (@age_ref = \$sth->fetchrow_array)
The problem is, the age values in the @HoA are not being updated as a result of the above code.
Any ideas on how to make that work, please?
|
|---|