- or download this
while (my $row = $sth->fetch()){
push @{ $data[0] }, $row[0];
...
}
print Dumper(@data);
- or download this
$VAR1 = [
undef,
...
undef,
undef
];
- or download this
while (my @row = $sth->fetchrow_array()){
push @{$data[0]}, $row[0];
push @{$data[1]}, $row[1];
}
print Dumper(@data);
- or download this
$VAR1 = [
'Siemens',
...
'11000',
'8000'
];