fetchrow_arrayref lists a caveat, its that it reuses the reference, so all your array refs are pointing to the same one, its common pitfall, see http://search.cpan.org/perldoc/DBI#fetchrow_arrayref
You want to use fetchrow_array and push ...\@array or store a copy with push ... [ @$ref ]
In reply to Re: Help with HoAoA (fetchrow_arrayref reuse)
by Anonymous Monk
in thread Help with HoAoA
by OfficeLinebacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |