No need to copy the 2 items to a new array.
while (my $row = $sth->fetchrow_arrayref) { push @{ $players[$count] }, $row->[0], $row->[4]; }
In reply to Re^3: Loop that creates multidimensional array?
by fishmonger
in thread Loop that creates multidimensional array?
by jdlev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |