| 1 | 1 | ▶ | use 5.008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 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 | package Data::Storage::DBI::Result; | ||
| 6 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | $Data::Storage::DBI::Result::VERSION = '1.102720'; | |
| 8 | } | ||
| 9 | # ABSTRACT: Base class for DBI query results | ||
| 10 | 1 | ▶ | use DBI ':sql_types'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use Error::Hierarchy::Util 'assert_defined'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | ▶ | use parent 'Class::Accessor::Complex'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 1 | __PACKAGE__ | |
| 14 | ->mk_new | ||
| 15 | ->mk_scalar_accessors(qw(sth result)); | ||
| 16 | |||
| 17 | 0 | ▶ | sub fetch { |
|
Subroutine
fetch: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 18 | 0 | my $self = shift; | |
| 19 | 0 | assert_defined $self->sth, 'called without set statement handle.'; | |
| 20 | 0 | $self->sth->fetch; | |
| 21 | } | ||
| 22 | |||
| 23 | 0 | ▶ | sub finish { |
|
Subroutine
finish: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 24 | 0 | my $self = shift; | |
| 25 | 0 | assert_defined $self->sth, 'called without set statement handle.'; | |
| 26 | 0 | $self->sth->finish; | |
| 27 | } | ||
| 28 | |||
| 29 | 0 | ▶ | sub rows { |
|
Subroutine
rows: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 30 | 0 | my $self = shift; | |
| 31 | 0 | assert_defined $self->sth, 'called without set statement handle.'; | |
| 32 | 0 | $self->sth->rows; | |
| 33 | } | ||
| 34 | 1 | 1; | |
| 35 | |||
| 36 | |||
| 37 | __END__ | ||