Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Re: Re: Sqlite DBI $sth->rowsby bart (Canon) |
on Oct 24, 2003 at 00:35 UTC ( [id://301759]=note: print w/replies, xml ) | Need Help?? |
Note that this is not complete without a finish() call: You need to use finish if you don't repeat calling fetchrow_*, or equivalent, until it returns undef. So you need it in your second example, too. If you omit it, you'll get a warning from DBI, or you should. (Maybe this depends on the database driver?)
In Section
Seekers of Perl Wisdom
|
|