| 1 | package ODS::Table::Column::String; | ||||||||||
| 2 | |||||||||||
| 3 | 72 | ▶ | use YAOO; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | 72 | extends 'ODS::Table::Column::Base'; | |||||||||
| 6 | |||||||||||
| 7 | 72 | ▶ | use ODS::Utils qw/error/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | sub validation { | ||||||||||
| 10 | 34453 | ▶ | if (ref($_[1])) { | ||||||||
|
Subroutine
validation: called CC=2 SCAR=8.1
Pod
undocumented
Branch: 1 branch
| |||||||||||
| 11 | 0 | croak sprintf "The value passed to the %s column does not match the integer constraint.", | |||||||||
| 12 | $_[0]->name; | ||||||||||
| 13 | } | ||||||||||
| 14 | 34453 | return $_[1]; | |||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | #sub inflation { return $_[1]; } | ||||||||||
| 18 | |||||||||||
| 19 | #sub deflation { return $_[1]; } | ||||||||||
| 20 | |||||||||||
| 21 | #sub coercion { return $_[1]; } | ||||||||||
| 22 | |||||||||||
| 23 | 72 | 1; | |||||||||
| 24 | |||||||||||
| 25 | __END__ | ||||||||||