Help for this page

Select Code to Download


  1. or download this
    sub commit () {
        ($T || ${ caller() . '::T' })->commit;
    ...
        END_XACTION: die $@ . "commit not safe after errors, transaction r
    +olled back"
            if $@;
    }
    
  2. or download this
    sub commit {
        require Carp;
    ...
            Carp::croak($@ . "commit not safe after errors, transaction ro
    +lled back");
        }
    }