in reply to Just another DBI question.
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.
|
|---|