Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 scrutinizing the Monastery: (12)
As of 2014-12-29 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (192 votes), past polls