in reply to DBI disconnect database errors

Just ruling out one possible cause:

however when I just pull a single Item I don't call any kind of finish

That's not the problem. selectrow_* calls finish.

Replies are listed 'Best First'.
Re^2: DBI disconnect database errors
by Anonymous Monk on Nov 16, 2009 at 05:53 UTC
    Yeah, I expected that, but was not sure...

    What if I just do not call the close and disconnect and let perl do it when it exits? Would that cause problems?

    Thanks,
    Rich
      Perl would implicitly close/disconnect the database handle on exit (or, more accurately, when the handle goes out of scope, which would be prior to program exit if it were lexical to a block) and produce the same errors. The messages would, IIRC, be worded a little differently, but that's pretty much all that would change.