Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: fetchall_arrayref with slice and row count

by druud (Sexton)
on Nov 28, 2009 at 17:11 UTC ( #809913=note: print w/replies, xml ) Need Help??

in reply to Re: fetchall_arrayref with slice and row count
in thread fetchall_arrayref with slice and row count

Not a bug. So wrong usage.
while ( $sth->{Active} and $rowcache=$sth->fetchall_arrayref({}, $max_rows) ) { ... }
See the DBI documentation: the last possible fetch in a fetchall will call $sth->finish.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://809913]
[Corion]: Meh... Github (understandably) doesn't allow files larger than 100MB, but my rebase of an older repo (from Github) includes such a file and now I can't push my changes there
[Corion]: Maybe that is the push I need to finally try out Gitprep ;)
[Corion]: On the upside, I should finally improve Image::CCV to also do ImageNet classification using their pretrained parameters
[Lady_Aleena]: Hello Corion.
[Corion]: Hi Lady_Aleena!
[Lady_Aleena]: Corion, how are things?
[Corion]: Lady_Aleena: Quite good ;) I'm working four days now, instead of five, which helps my mood and my weekends tremendously

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2017-09-24 18:06 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (274 votes). Check out past polls.