in reply to Re: Handle DBI connection lost
in thread Handle DBI connection lost

Yep, i've looked at this module. Unfortunately it goes by way 1, i.e. ping'ing server before every request.

Replies are listed 'Best First'.
Re^3: Handle DBI connection lost
by Anonymous Monk on Feb 28, 2017 at 00:12 UTC

    You sure?

    "In fixup mode, DBIx::Connector executes the block without pinging the database. But in the event the block throws an exception, if DBIx::Connector finds that the database handle is no longer connected, it will reconnect to the database and re-execute the block."
      Oh... sorry. I missed to say that we have many sql related code and main idea is to substitute DBI $dbh with something other that handle reconnection with the same API.