So,
while (my $row = $sth->fetchrow_hashref) { print "The data in this_col is $row->{'this_col'}\n"; push(@rows,$row) # array of hashrefs or the whole table in a data + structure }
I like this better than the other solutions bec it is clean, easy to read and best of all easy to use and flexible.
In reply to Re: Just another DBI question.
by jonjacobmoon
in thread Just another DBI question.
by xtype
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |