Object/Information/AFRINIC.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::Whois::Object::Information;
2  
3 use strict;
4 use warnings;
5 use base qw/Net::Whois::Object/;
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 my ( $class, @options ) = @_;
38  
39 my $self = bless {}, $class;
40 $self->_init(@options);
41  
42 return $self;
43 }
44  
45 =head2 B<comment( [$comment] )>
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;