| 1 | package DBIx::TransactionManager::Extended::Compat; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | ▶ | use DBIx::TransactionManager; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use DBIx::TransactionManager::Extended; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | *_super_new = DBIx::TransactionManager->can('new'); | |
| 9 | |||
| 10 | { | ||
| 11 | 1 | ▶ | no warnings qw/redefine/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | *DBIx::TransactionManager::new = \&_new; | |
| 13 | } | ||
| 14 | |||
| 15 | 0 | ▶ | sub _new { _super_new('DBIx::TransactionManager::Extended', @_[1..$#_])->_initialize() } |
|
Subroutine
_new: not called CC=1 SCAR=6.9
| |||
| 16 | |||
| 17 | 1 | 1; | |
| 18 | __END__ | ||