| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Net::Whois::Object::Person; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
79717
|
use strict; |
|
|
1
|
|
|
|
|
12
|
|
|
|
1
|
|
|
|
|
30
|
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
29
|
|
|
5
|
1
|
|
|
1
|
|
6
|
use base qw/Net::Whois::Object/; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
634
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
####################################################################################### |
|
8
|
|
|
|
|
|
|
# The following lines where auto-generated by 'perl whois_to_attribute.pl Person' |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# % This is the RIPE Database query service. |
|
11
|
|
|
|
|
|
|
# % The objects are in RPSL format. |
|
12
|
|
|
|
|
|
|
# % |
|
13
|
|
|
|
|
|
|
# % The RIPE Database is subject to Terms and Conditions. |
|
14
|
|
|
|
|
|
|
# % See http://www.ripe.net/db/support/db-terms-conditions.pdf |
|
15
|
|
|
|
|
|
|
# |
|
16
|
|
|
|
|
|
|
# person: [mandatory] [single] [lookup key] |
|
17
|
|
|
|
|
|
|
# address: [mandatory] [multiple] [ ] |
|
18
|
|
|
|
|
|
|
# phone: [mandatory] [multiple] [ ] |
|
19
|
|
|
|
|
|
|
# fax-no: [optional] [multiple] [ ] |
|
20
|
|
|
|
|
|
|
# e-mail: [optional] [multiple] [lookup key] |
|
21
|
|
|
|
|
|
|
# org: [optional] [multiple] [inverse key] |
|
22
|
|
|
|
|
|
|
# nic-hdl: [mandatory] [single] [primary/lookup key] |
|
23
|
|
|
|
|
|
|
# remarks: [optional] [multiple] [ ] |
|
24
|
|
|
|
|
|
|
# notify: [optional] [multiple] [inverse key] |
|
25
|
|
|
|
|
|
|
# mnt-by: [mandatory] [multiple] [inverse key] |
|
26
|
|
|
|
|
|
|
# created: [generated] [single] [ ] |
|
27
|
|
|
|
|
|
|
# last-modified: [generated] [single] [ ] |
|
28
|
|
|
|
|
|
|
# source: [mandatory] [single] [ ] |
|
29
|
|
|
|
|
|
|
# |
|
30
|
|
|
|
|
|
|
# % This query was served by the RIPE Database Query Service version 1.99 (WAGYU) |
|
31
|
|
|
|
|
|
|
# |
|
32
|
|
|
|
|
|
|
# |
|
33
|
|
|
|
|
|
|
__PACKAGE__->attributes( 'primary', [ 'person' ] ); |
|
34
|
|
|
|
|
|
|
__PACKAGE__->attributes( 'mandatory', [ 'person', 'address', 'phone', 'nic_hdl', 'mnt_by', 'source' ] ); |
|
35
|
|
|
|
|
|
|
__PACKAGE__->attributes( 'optional', [ 'fax_no', 'e_mail', 'org', 'remarks', 'notify', 'created', 'last_modified' ] ); |
|
36
|
|
|
|
|
|
|
__PACKAGE__->attributes( 'single', [ 'person', 'nic_hdl', 'created', 'last_modified', 'source' ] ); |
|
37
|
|
|
|
|
|
|
__PACKAGE__->attributes( 'multiple', [ 'address', 'phone', 'fax_no', 'e_mail', 'org', 'remarks', 'notify', 'mnt_by' ] ); |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
# End of auto-generated lines |
|
40
|
|
|
|
|
|
|
####################################################################################### |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 NAME |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Net::Whois::Object::Person - an object representation of the RPSL Person block |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
A person object contains information about technical or administrative |
|
49
|
|
|
|
|
|
|
contact responsible for the object where it is referenced. Once the |
|
50
|
|
|
|
|
|
|
object is created, the value of the "person:" attribute cannot be |
|
51
|
|
|
|
|
|
|
changed. |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 METHODS |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 B |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Constructor for the Net::Whois::Object::Person class |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
sub new { |
|
62
|
1
|
|
|
1
|
1
|
4
|
my ( $class, @options ) = @_; |
|
63
|
|
|
|
|
|
|
|
|
64
|
1
|
|
|
|
|
4
|
my $self = bless {}, $class; |
|
65
|
1
|
|
|
|
|
11
|
$self->_init(@options); |
|
66
|
|
|
|
|
|
|
|
|
67
|
1
|
|
|
|
|
3
|
return $self; |
|
68
|
|
|
|
|
|
|
} |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 B |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Accessor to the person attribute. |
|
73
|
|
|
|
|
|
|
Accepts an optional person, always return the current person. |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 B |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Accessor to the address attribute. |
|
78
|
|
|
|
|
|
|
Accepts an optional address line to be added to the address array, |
|
79
|
|
|
|
|
|
|
always return the current address array. |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 B |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Accessor to the phone attribute. |
|
84
|
|
|
|
|
|
|
Accepts an optional phone number to be added to the phone array, |
|
85
|
|
|
|
|
|
|
always return the current phone array. |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 B |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Accessor to the fax_no attribute. |
|
90
|
|
|
|
|
|
|
Accepts an optional fax_no to be added to the fax_no array, |
|
91
|
|
|
|
|
|
|
always return the current fax_no array. |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 B |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Accessor to the e_mail attribute. |
|
96
|
|
|
|
|
|
|
Accepts an optional e_mail to be added to the e_mail array, |
|
97
|
|
|
|
|
|
|
always return the current e_mail array. |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 B |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Accessor to the org attribute. |
|
102
|
|
|
|
|
|
|
Accepts an optional org, always return the current org array. |
|
103
|
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Points to an existing organisation object representing the entity that |
|
105
|
|
|
|
|
|
|
holds the resource. |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
The 'ORG-' string followed by 2 to 4 characters, followed by up to 5 digits |
|
108
|
|
|
|
|
|
|
followed by a source specification. The first digit must not be "0". |
|
109
|
|
|
|
|
|
|
Source specification starts with "-" followed by source name up to |
|
110
|
|
|
|
|
|
|
9-character length. |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head2 B |
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Accessor to the nic_hdl attribute. |
|
115
|
|
|
|
|
|
|
Accepts an optional nic_hdl, always return the current nic_hdl. |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=head2 B |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
Accessor to the remarks attribute. |
|
120
|
|
|
|
|
|
|
Accepts an optional remark to be added to the remarks array, |
|
121
|
|
|
|
|
|
|
always return the current remarks array. |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=head2 B |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
Accessor to the notify attribute. |
|
126
|
|
|
|
|
|
|
Accepts an optional notify value to be added to the notify array, |
|
127
|
|
|
|
|
|
|
always return the current notify array. |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 B |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
Accessor to the abuse_mailbox attribute. |
|
132
|
|
|
|
|
|
|
Accepts an optional abuse_mailbox value to be added to the abuse_mailbox array, |
|
133
|
|
|
|
|
|
|
always return the current abuse_mailbox array. |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head2 B |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
Accessor to the mnt_by attribute. |
|
138
|
|
|
|
|
|
|
Accepts an optional mnt_by value to be added to the mnt_by array, |
|
139
|
|
|
|
|
|
|
always return the current mnt_by array. |
|
140
|
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=head2 B |
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
Accessor to the changed attribute. |
|
144
|
|
|
|
|
|
|
Accepts an optional changed value to be added to the changed array, |
|
145
|
|
|
|
|
|
|
always return the current changed array. |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=head2 B |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
Accessor to the source attribute. |
|
150
|
|
|
|
|
|
|
Accepts an optional source, always return the current source. |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=cut |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
1; |