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.
In reply to Re: The Naughty Nought "OEO" blues
by merlyn
in thread The Naughty Nought "OEO" blues
by rinceWind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |