line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
657
|
use 5.008; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
43
|
|
2
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
60
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Class::Value::Contact; |
6
|
|
|
|
|
|
|
our $VERSION = '1.100840'; |
7
|
|
|
|
|
|
|
# ABSTRACT: Contact-related value objects |
8
|
1
|
|
|
1
|
|
5
|
use parent qw(Class::Value::String); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub send_notify_value_not_wellformed { |
11
|
0
|
|
|
0
|
1
|
|
my ($self, $value) = @_; |
12
|
0
|
|
|
|
|
|
local $Error::Depth = $Error::Depth + 2; |
13
|
0
|
|
|
|
|
|
$self->exception_container->record( |
14
|
|
|
|
|
|
|
'Class::Value::Contact::Exception::NotWellformed', |
15
|
|
|
|
|
|
|
value => $value,); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub send_notify_value_invalid { |
19
|
0
|
|
|
0
|
1
|
|
my ($self, $value) = @_; |
20
|
0
|
|
|
|
|
|
local $Error::Depth = $Error::Depth + 2; |
21
|
0
|
|
|
|
|
|
$self->exception_container->record( |
22
|
|
|
|
|
|
|
'Class::Value::Contact::Exception::Invalid', |
23
|
|
|
|
|
|
|
value => $value,); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |