my @row; my %hash; while (@row = $sth5->fetchrow_array) { $hash{$row[0]} = \@row; }
Hot Pastramimy %hash; while (my @row = $sth5->fetchrow_array) { $hash{$row[0]} = \@row; }
In reply to Re: appending an array to a hash
by Hot Pastrami
in thread appending an array to a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |