in reply to How to prevent Exception::Class to exit the process
The use of this kind of module should obviate the need to recode the CPAN module.package DBIx::RetryOverDisconnects::Immortal; use DBIx::RetryOverDisconnects; sub DBIx::RetryOverDisconnects::Immortal::txn_do { my ($self, $coderef) = @_; my $success = 0; eval( $success = $self ->DBIx::RetryOverDisconnects::txn_do($coder +ef) ); $success; }
One world, one people
|
|---|