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

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."

Replies are listed 'Best First'.
Re^4: Handle DBI connection lost
by bash (Scribe) on Feb 28, 2017 at 06:14 UTC
    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.