line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Whois::Object::Information; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
86722
|
use strict; |
|
5
|
|
|
|
|
25
|
|
|
5
|
|
|
|
|
258
|
|
4
|
5
|
|
|
5
|
|
38
|
use warnings; |
|
5
|
|
|
|
|
13
|
|
|
5
|
|
|
|
|
253
|
|
5
|
5
|
|
|
5
|
|
35
|
use base qw/Net::Whois::Object/; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
1825
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
__PACKAGE__->attributes( 'mandatory', ['comment'] ); |
8
|
|
|
|
|
|
|
__PACKAGE__->attributes( 'optional', [] ); |
9
|
|
|
|
|
|
|
__PACKAGE__->attributes( 'multiple', ['comment'] ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Net::Whois::Object::Information - an object representation of the RPSL Information block |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 DESCRIPTION |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
output starting with the % sign is either a server response code or |
18
|
|
|
|
|
|
|
an informational message. A comment contains a white space after the |
19
|
|
|
|
|
|
|
% sign, while server messages start right after the % sign. Please |
20
|
|
|
|
|
|
|
see Appendix A2 "RIPE Database response codes and messages" for more |
21
|
|
|
|
|
|
|
information. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
* An empty line ("\n\n") is an object delimiter. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
* Two empty lines mean the end of a server response. The "members:" attribute lists the members of the set. The |
26
|
|
|
|
|
|
|
"members:" attribute is a list of AS numbers, or other as-set names. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 METHODS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 new ( @options ) |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Constructor for the Net::Whois::Object::Information class |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub new { |
37
|
40
|
|
|
40
|
1
|
153
|
my ( $class, @options ) = @_; |
38
|
|
|
|
|
|
|
|
39
|
40
|
|
|
|
|
112
|
my $self = bless {}, $class; |
40
|
40
|
|
|
|
|
197
|
$self->_init(@options); |
41
|
|
|
|
|
|
|
|
42
|
40
|
|
|
|
|
172
|
return $self; |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 B |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Accessor to the comment attribute. |
48
|
|
|
|
|
|
|
Accepts an optional comment to be added to the comment array, |
49
|
|
|
|
|
|
|
always return the current comment array. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
1; |