My code would have given you a compile-time error had you used use strict;.while (my $row = $sth->fetch()){ push @{ $data[0] }, $row->[0]; push @{ $data[1] }, $row->[1]; }
In reply to Re^3: Getting Record Set via DBI into an Array of Arrays
by ikegami
in thread Getting Record Set via DBI into an Array of Arrays
by overrider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |