in reply to Re^4: DBD::CSV failing
in thread DBD::CSV failing
will return the first row and then nothing beyond that. If I use$sth->prepare("SELECT * FROM db WHERE field < 2000"); while (@row = $sth->fetch) { ... }
for some reason, everything seems to be hunky dory. Also, that "undef" in setting up the column names and variable references also is wont to cause me difficulty ("perldoc DBD::CSV" for reference on that one). Go figure.while ($row = $sth->fetchrow_hashref) { ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: DBD::CSV failing
by jZed (Prior) on Feb 03, 2006 at 01:02 UTC |