| 1 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | package Data::Rx::CoreType::def; | ||||||||||
| 4 | # ABSTRACT: the Rx //def type | ||||||||||
| 5 | 1 | $Data::Rx::CoreType::def::VERSION = '0.200007'; | |||||||||
| 6 | 1 | ▶ | use parent 'Data::Rx::CoreType'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | sub assert_valid { | ||||||||||
| 9 | 99 | ▶ | my ($self, $value) = @_; | ||||||||
|
Subroutine
assert_valid: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 10 | |||||||||||
| 11 | 99 | ▶ | return 1 if defined $value; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 12 | |||||||||||
| 13 | 1 | $self->fail({ | |||||||||
| 14 | error => [ qw(type) ], | ||||||||||
| 15 | message => "found value is undef", | ||||||||||
| 16 | value => $value, # silly, but let's be consistent -- rjbs, 2009-04-17 | ||||||||||
| 17 | }); | ||||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 54 | ▶ | sub subname { 'def' } | ||||||||
|
Subroutine
subname: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 21 | |||||||||||
| 22 | 1 | 1; | |||||||||
| 23 | |||||||||||
| 24 | __END__ | ||||||||||