| 1 | package Data::Tabular::Type; | ||
| 2 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 8 | ▶ | use overload '""' => \&_render, fallback => 'TRUE'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | sub html_text | ||
| 8 | 288 | ▶ | { |
|
Subroutine
html_text: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 9 | 288 | my $self = shift; | |
| 10 | 288 | $self->{data}; | |
| 11 | } | ||
| 12 | |||
| 13 | sub new | ||
| 14 | 2547 | ▶ | { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 15 | 2547 | my $class = shift; | |
| 16 | |||
| 17 | 2547 | bless { | |
| 18 | @_ | ||
| 19 | }, $class; | ||
| 20 | } | ||
| 21 | |||
| 22 | sub string | ||
| 23 | 628 | ▶ | { |
|
Subroutine
string: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 24 | 628 | my $self = shift; | |
| 25 | |||
| 26 | 628 | $self->{data}; | |
| 27 | } | ||
| 28 | |||
| 29 | sub attributes | ||
| 30 | 0 | ▶ | { |
|
Subroutine
attributes: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 31 | 0 | {}; | |
| 32 | } | ||
| 33 | |||
| 34 | sub _render | ||
| 35 | 3498 | ▶ | { |
|
Subroutine
_render: called CC=1 SCAR=0.0
| |||
| 36 | 3498 | my $self = shift; | |
| 37 | |||
| 38 | 3498 | $self->{data}; | |
| 39 | } | ||
| 40 | |||
| 41 | package Data::Tabular::Type::Number; | ||
| 42 | 8 | ▶ | use base 'Data::Tabular::Type'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 43 | |||
| 44 | package Data::Tabular::Type::Dollar; | ||
| 45 | 8 | ▶ | use base 'Data::Tabular::Type'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 46 | |||
| 47 | package Data::Tabular::Type::Text; | ||
| 48 | 8 | ▶ | use base 'Data::Tabular::Type'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 49 | |||
| 50 | package Data::Tabular::Type::Date; | ||
| 51 | 8 | ▶ | use base 'Data::Tabular::Type'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 52 | |||
| 53 | 8 | 1; | |