Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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.


Comment on Re^2: fetchall_arrayref with slice and row count
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://809913]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-07-12 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls