in reply to Re: DBI disconnect database errors
in thread DBI disconnect database errors

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

Replies are listed 'Best First'.
Re^3: DBI disconnect database errors
by dsheroh (Monsignor) on Nov 16, 2009 at 13:04 UTC
    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.