| 1 | package DBIO::Test::SQLMRebase; | ||
| 2 | # ABSTRACT: Test SQLMaker subclass with select call counting | ||
| 3 | |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | our $VERSION = '0.900007'; | |
| 7 | |||
| 8 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 3 | our @ISA = qw( DBIO::SQLMaker::ClassicExtensions SQL::Abstract ); | |
| 11 | |||
| 12 | 3 | __PACKAGE__->mk_group_accessors( simple => '__select_counter' ); | |
| 13 | |||
| 14 | 1 | ▶ | sub select { |
|
Subroutine
select: called CC=1 SCAR=0.0
Pod
documented
| |||
| 15 | 1 | $_[0]->{__select_counter}++; | |
| 16 | 1 | shift->next::method(@_); | |
| 17 | } | ||
| 18 | |||
| 19 | 3 | 1; | |
| 20 | |||
| 21 | __END__ | ||