in reply to Re^3: DBD::SQLite failing to return data?
in thread DBD::SQLite failing to return data?
also are you wanting the data fetch loop to always exit using die?.
No. That was just a debugging strategy. In the normal way of things the loop is:
while( my $data = $sth->fetchrow_arrayref ) { print "$data : @{ $data }"; }
But doesn't give easy opportunity to output any errstr.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: DBD::SQLite failing to return data?
by aquarium (Curate) on Nov 11, 2010 at 03:09 UTC | |
by BrowserUk (Patriarch) on Nov 11, 2010 at 03:29 UTC | |
by aquarium (Curate) on Nov 11, 2010 at 03:41 UTC |