in reply to The Naughty Nought "OEO" blues
As in, "while the number of rows is greater than 0". All those hacky "+ 0" solutions look wierd to me. {grin}while ((my $rows = $dbh->do(<<SQL)) > 0) {
Note that this will quit whether there's 0 rows, or an error. Probably a good plan either way.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|