Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2014-09-20 15:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls