RIPE.pm

filter: Statementstmt 92.0% 104 / 113 Branchbran 66.0% 37 / 56 Conditioncond 88.8% 8 / 9 MC/DCmcdc 83.3% 5 / 6 Subroutinesub 96.6% 29 / 30 Podpod 100% 18 / 18 totaltotal 86.6% 201 / 232 SCAR 36.3
CC
33
Cov
84%
send
12.0
query
5.4
connect
5.2
CRAP 37.7
« Generic.pm ↑ Summary Object/AutNum/AFRINIC.pm »
1 package Net::Whois::RIPE;
2  
3 5 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 5 ▶use Net::Whois::Generic;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 5 ▶use IO::Socket::INET;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 5 ▶use IO::Select;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 5 ▶use Iterator;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 5 use constant { SOON => 30,
12 END_OF_OBJECT_MARK => "\n\n",
13 EOL => "\015\012",
14 QUERY_KEEPALIVE => q{-k },
15 QUERY_NON_RECURSIVE => q{-r },
16 QUERY_REFERRAL => q{-R },
17 QUERY_GROUPING => q{-G },
18 QUERY_UNFILTERED => q{-B },
19 QUERY_LIST_OBJECTS => q{-qtypes },
20 QUERY_LIST_SOURCES => q{-qsources },
21 QUERY_FETCH_TEMPLATE => q{-t%s },
22 QUERY_LIMIT_OBJECT_TYPE => q{-T%s },
23 5 ▶};
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 =head1 NAME
26  
27 Net::Whois::RIPE - a pure-Perl implementation of the RIPE Database client.
28  
29 =head1 VERSION
30  
31 Version 2.007004
32  
33 =cut
34  
35 5 our $VERSION = 2.007004;
36  
37 =head1 SYNOPSIS
38  
39 This is an evolution of the module I (Arnaud Assad) inherited from Luis Motta Campos.
40 Which was a complete rewrite of the old version of the module inherited from
41 Paul Gampe. It incorporated new concepts Luis have learned while working at the
42 RIPE NCC between Nov 2007 and Jan 2010.
43  
44 It intends to provide a cleaner, simpler, and complete implementation of a RIPE
45 Database client.
46  
47 The usage should remain mostly the same:
48  
49 use Net::Whois::RIPE;
50  
51 my $whois = Net::Whois::RIPE->new( %options );
52 $iterator = $whois->query( 'AS333' );
53  
54 From version 2.005000 you can also use the Net::Whois::Generic interface
55 that mimics Net::Whois::Object while offering access to data from other sources
56 than RIPE (AFRINIC, APNIC)
57  
58 use Net::Whois::RIPE;
59  
60 my @objects = Net::Whois::Generic->query( 'ORG-AFNC1-AFRINIC' );
61  
62 Please see L<Net::Whois::Generic> documentation for more details
63  
64 Of course, comments are more than welcome. If you believe you can help, please
65 do not hesitate in contacting me.
66  
67 =head1 BACKWARD COMPATIBILITY
68  
69 I've choose to break backwards compatibility with older versions of the L<Net::Whois::RIPE>
70 module for several different reasons. I will try to explain and justify them here, as design documentation.
71 I will also strive to provide practical solutions for porting problems, if any.
72  
73 =head2 Architecture
74  
75 The old module provided it's own L<Iterator> implementation. This was common
76 practice 10 years ago, when the module was initially written. I believe Perl
77 has a stable and useful standard implementation of L<Iterators> now, and
78 adopted it instead of maintaining my own. This allows me to reduce the
79 necessary code base without losing features.
80  
81 =head2 Query Options
82  
83 From release 2.0 onwards, L<Net::Whois::RIPE> will allow almost all query
84 options understanded by the RIPE Database Server. I bumped in the lack of
85 options myself, sometimes, and I believe other programmers can also use the
86 extra features offered.
87  
88 There are nice, sane defaults provided for most of the options. This should
89 make it possible for a beginner to just ignore all options and settings and
90 still be able to make some use of the module.
91  
92 =head2 Memory Footprint
93  
94 I had the intention of reducing the memory footprint of this module when doing
95 heavy-lifting. I still don't have measurements, but that was the idea behind
96 adopting an L<Iterator> wrapping the L<IO::Socket> used to return results.
97  
98 =head2 Better Data Structures
99  
100 A production release of this module will be able to feed a L<RPSL::Parser> with
101 RPSL objects extracted from the RIPE Database and return full-fledged objects
102 containing a parsed version of the text (way more useful than a text blob, I
103 believe).
104 L<Net::Whois::Object> (from release 2.00_010) is the first attempt toward this
105 goal.
106  
107 # You can now do
108 my @objects = Net::Whois::Object->query( 'AS333' );
109  
110 # And manipulate the object the OO ways
111 for my $object (@objects) {
112 print $object->remarks();
113 }
114  
115 =head1 METHODS
116  
117 =head2 B<new( %options )>
118  
119 Constructor. Returns a new L<Net::Whois::RIPE> object with an open connection
120 to the RIPE Database service of choice (defaulting to C<whois.ripe.net:43>).
121  
122 The C<%options> hash migth contain configuration options for the RIPE Database
123 server. Not all options provided by the RIPE Database server are suitable for
124 this implementation, but the idea is to provide everything someone can show a
125 use for. The options currently recognized are:
126  
127 =over 4
128  
129 =item B<hostname> (IPv4 address or DNS name. Default is C<whois.ripe.net>)
130  
131 The hostname or IP address of the service to connect to
132  
133 =item B<port> (integer, default is C<43>)
134  
135 The TCP port of the service to connect to
136  
137 =item B<timeout> (integer, default is C<5>)
138  
139 The time-out (in seconds) for the TCP connection.
140  
141 =item B<keepalive> (boolean, default is C<false>)
142  
143 Wherever we want (C<true>) or not (C<false>) to keep the connection to the
144 server open. This option implements the functionality available through RIPE
145 Database's "-k" parameter.
146  
147 =item B<referral> (boolean, default is C<false>)
148  
149 When true, prevents the server from using the referral mechanism for domain
150 lookups, so that the RIPE Database server returns an object in the RIPE
151 Database with the exact match with the lookup argument, rather than doing a
152 referral lookup.
153  
154 =item B<recursive> (boolean, default is C<false>)
155  
156 When set to C<true>, prevents recursion into queried objects for personal
157 information. This prevents lots of unsolicited objects from showing up on
158 queries.
159  
160 =item B<grouping> (boolean, default is C<false>)
161  
162 When C<true> enables object grouping in server responses. There's little
163 utility to enable this option, as the objects will be parsed and returned on a
164 much reasonable format most of the time. For the brave or more knowledgeable
165 people that want to have they answers in plain text, this can help stablishing
166 a 'good' ordering for the RPSL objects returned by a query ('good' is RIPE
167 NCC's definition of 'good' in this case).
168  
169 =item B<unfiltered> (boolean, default is C<false>)
170  
171 When C<true> enables unfiltered object output responses. This produces objects
172 that can be presented back to the RIPE Database for updating.
173  
174 =item B<types> (list of valid RIPE Database object types, default is empty, meaning all types)
175  
176 Restrict the RPSL object types allowed in the response to those in the list.
177 Using this option will cause the L<Net::Whois::RIPE> object to query the RIPE
178 Database for the available object types for validating the list. The response
179 will be cached for speed and bandwidth.
180  
181 =item B<disconnected> (boolean, default is C<false>)
182  
183 Prevents the constructor from automatically opening a connection to the service
184 specified (conneting the socket is the default behavior). When set (C<true>),
185 the programmer is responsible for calling C<connect> in order to stablish a
186 connection to the RIPE Database service desired.
187  
188 =back
189  
190 =cut
191  
192 {
193 5 my %default_options = ( hostname => 'whois.ripe.net',
194 port => '43',
195 timeout => 5,
196 keepalive => 0,
197 referral => 0,
198 recursive => 0,
199 grouping => 1,
200 unfiltered => 0,
201 types => undef,
202 disconnected => 0,
203 );
204  
205 sub new {
206 3 ▶ my ( $class, %options ) = @_;
Subroutine new: called CC=4 SCAR=13.9
Pod documented
207 3 my %known_options;
208 3 ▶ $known_options{$_} = exists $options{$_} ? $options{$_} : $default_options{$_} foreach keys %default_options;
Branch: 1 branch
BranchTrueFalseTotal
exists $options{$_} ? : 3 27 30
209  
210 3 my $self = bless { __options => \%known_options }, $class;
211  
212 3 ▶ $self->connect unless delete $self->{__options}{disconnected};
Branch: 1 branch
BranchTrueFalseTotal
unless delete $self->{"__options"}{"disconnected"} 1 2 3
213 3 return $self;
214 }
215 }
216  
217 =head2 B<hostname( [$hostname] )>
218  
219 Accessor to the hostname. Accepts an optional hostname, always return the
220 current hostname.
221  
222 =cut
223  
224 5 sub hostname {
225 8 ▶ my ( $self, $hostname ) = @_;
Subroutine hostname: called CC=2 SCAR=6.9
Pod documented
226 8 ▶ $self->{__options}{hostname} = $hostname if defined $hostname;
Branch: 1 branch
BranchTrueFalseTotal
if defined $hostname 1 7 8
227 8 return $self->{__options}{hostname};
228 }
229  
230 =head2 B<port()>
231  
232 Accessor to the port. Accepts an optional port, always return the current
233 port.
234  
235 =cut
236  
237 sub port {
238 10 ▶ my ( $self, $port ) = @_;
Subroutine port: called CC=3 SCAR=11.0
Pod documented
239 10 ▶ $self->{__options}{port} = $port if defined $port && $port =~ m{^\d+$};
Branch: 1 branch
BranchTrueFalseTotal
if defined $port and $port =~ /^\d+$/ 1 9 10
Condition100%3/3
defined $port and $port =~ /^\d+$/
!ll&&!rl&&r
811
MC/DC100%2/2
defined $port and $port =~ /^\d+$/
defined $port $port =~ /^\d+$/
Truth table100%3/3
A and B
A= defined $portB= $port =~ /^\d+$/
ABresult
0X0
100
111
240 10 return $self->{__options}{port};
241 }
242  
243 =head2 B<timeout()>
244  
245 Accessor to the timeout configuration option. Accepts an optional timeout,
246 always return the current timeout.
247  
248 =cut
249  
250 sub timeout {
251 16 ▶ my ( $self, $timeout ) = @_;
Subroutine timeout: called CC=3 SCAR=11.0
Pod documented
252 16 ▶ $self->{__options}{timeout} = $timeout
Branch: 1 branch
BranchTrueFalseTotal
if defined $timeout and $timeout =~ /^\d+$/ 1 15 16
Condition100%3/3
defined $timeout and $timeout =~ /^\d+$/
!ll&&!rl&&r
1411
MC/DC100%2/2
defined $timeout and $timeout =~ /^\d+$/
defined $timeout $timeout =~ /^\d+$/
Truth table100%3/3
A and B
A= defined $timeoutB= $timeout =~ /^\d+$/
ABresult
0X0
100
111
253 if defined $timeout && $timeout =~ m{^\d+$};
254 16 return $self->{__options}{timeout};
255 }
256  
257 =begin UNDOCUMENTED
258  
259 =head2 B<__boolean_accessor( $self, $attribute [, $value ] )>
260  
261 Private method. Shouldn't be used from other modules.
262  
263 Generic implementation of an accessor for booleans. Receives a reference to the
264 current instance, the attribute name, and a value to be interpreted under
265 Perl's boolean rules. Sets or gets the named attribute with the given value.
266 Always returns the most up-to-date value of the attribute.
267  
268 =end UNDOCUMENTED
269  
270 =cut
271  
272 sub __boolean_accessor {
273 32 ▶ my ( $self, $attribute ) = ( shift, shift );
Subroutine __boolean_accessor: called CC=3 SCAR=11.0
274 32 ▶ if ( scalar @_ == 1 ) {
Branch: 1 branch
BranchTrueFalseTotal
if (scalar @_ == 1) 8 24 32
275 8 my $value = shift;
276 8 ▶ $self->{__options}{$attribute} = $value ? 1 : 0;
Branch: 1 branch
BranchTrueFalseTotal
$value ? : 4 4 8
277 }
278 32 return $self->{__options}{$attribute};
279 }
280  
281 =head2 B<keepalive()>
282  
283 Accessor to the keepalive configuration option. Accepts an optional keepalive,
284 always return the current keepalive.
285  
286 =cut
287  
288 sub keepalive {
289 13 ▶ my $self = shift;
Subroutine keepalive: called CC=1 SCAR=0.0
Pod documented
290 13 return $self->__boolean_accessor( 'keepalive', @_ );
291 }
292  
293 =head2 B<referral()>
294  
295 Accessor to the referral configuration option. Accepts an optional referral,
296 always return the current referral.
297  
298 =cut
299  
300 sub referral {
301 6 ▶ my $self = shift;
Subroutine referral: called CC=1 SCAR=0.0
Pod documented
302 6 return $self->__boolean_accessor( 'referral', @_ );
303 }
304  
305 =head2 B<recursive()>
306  
307 Accessor to the recursive configuration option. Accepts an optional recursive,
308 always return the current recursive.
309  
310 =cut
311  
312 sub recursive {
313 6 ▶ my $self = shift;
Subroutine recursive: called CC=1 SCAR=0.0
Pod documented
314 6 return $self->__boolean_accessor( 'recursive', @_ );
315 }
316  
317 =head2 B<grouping()>
318  
319 Accessor to the grouping configuration option. Accepts an optional grouping,
320 always return the current grouping.
321  
322 =cut
323  
324 sub grouping {
325 5 ▶ my $self = shift;
Subroutine grouping: called CC=1 SCAR=0.0
Pod documented
326 5 return $self->__boolean_accessor( 'grouping', @_ );
327 }
328  
329 =head2 B<unfiltered()>
330  
331 Accessor to the unfiltered configuration option.
332  
333 =cut
334  
335 sub unfiltered {
336 2 ▶ my $self = shift;
Subroutine unfiltered: called CC=1 SCAR=0.0
Pod documented
337 2 return $self->__boolean_accessor( 'unfiltered', @_ );
338 }
339  
340 =head2 B<connect()>
341  
342 Initiates a connection with the current object's configuration.
343  
344 =cut
345  
346 sub connect {
347 5 ▶ my $self = shift;
Subroutine connect: called CC=5 SCAR=16.4
Pod documented
348 5 my %connection = ( Proto => 'tcp',
349 Type => SOCK_STREAM,
350 PeerAddr => $self->hostname,
351 PeerPort => $self->port,
352 Timeout => $self->timeout,
353 Domain => AF_INET,
354 Multihomed => 1,
355 );
356  
357 # Create a new IO::Socket object
358 5 my $socket = $self->{__state}{socket} = IO::Socket::INET->new(%connection);
359 5 ▶ die q{Can't connect to "} . $self->hostname . ':' . $self->port . qq{". Reason: [$@].\n}
Branch: 1 branch
BranchTrueFalseTotal
unless defined $socket 0 5 5
360 unless defined $socket;
361  
362 # Register $socket with the IO::Select object
363 5 ▶ if ( my $ios = $self->ios ) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $ios = $self->ios) { } 3 2 5
364 3 ▶ $ios->add($socket) unless $ios->exists($socket);
Branch: 1 branch
BranchTrueFalseTotal
unless $ios->exists($socket) 3 0 3
365 } else {
366 2 $self->{__state}{ioselect} = IO::Select->new($socket);
367 }
368  
369 # Set RIPE Database's "keepalive" capability
370 5 ▶ $self->send(QUERY_KEEPALIVE) if $self->keepalive;
Branch: 1 branch
BranchTrueFalseTotal
if $self->keepalive 0 5 5
371 }
372  
373 =head2 B<ios()>
374  
375 Accessor to the L<IO::Select> object coordinating the I/O to the L<IO::Socket>
376 object used by this module to communicate with the RIPE Database Server. You
377 shouldn't use this object, but the L</"send()"> and L<"query( $query_string )">
378 methods instead.
379  
380 =cut
381  
382 13 ▶sub ios { return $_[0]->{__state}{ioselect} }
Subroutine ios: called CC=1 SCAR=0.0
Pod documented
383  
384 =head2 B<socket()>
385  
386 Read-only accessor to the L<IO::Socket> object used by this module.
387  
388 =cut
389  
390 22 ▶sub socket { return $_[0]->{__state}{socket} }
Subroutine socket: called CC=1 SCAR=0.0
Pod documented
391  
392 =head2 B<send()>
393  
394 Sends a message to the RIPE Database server instance to which we're connected
395 to. Dies if it cannot write, or if there's no open connection to the server.
396  
397 Return C<true> if the message could be written to the socket, C<false>
398 otherwise.
399  
400 =cut
401  
402 sub send {
403 0 ▶ my ( $self, $message ) = @_;
Subroutine send: not called CC=3 SCAR=24.8
Pod documented
404 0 ▶ die q{Not connected} unless $self->is_connected;
Branch: 1 branch
BranchTrueFalseTotal
unless $self->is_connected 0 0 0
405 0 ▶ if ( $self->ios->can_write( SOON + $self->timeout ) ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->ios->can_write(30 + $self->timeout)) 0 0 0
406 0 $self->socket->print( $message, EOL );
407 0 $self->socket->flush;
408 0 return 1;
409 }
410 0 return 0;
411 }
412  
413 =head2 B<reconnect()>
414  
415 Reconnects to the server in case we lost connection.
416  
417 =cut
418  
419 sub reconnect {
420 3 ▶ my $self = shift;
Subroutine reconnect: called CC=2 SCAR=7.1
Pod documented
421 3 ▶ $self->disconnect if $self->is_connected;
Branch: 1 branch
BranchTrueFalseTotal
if $self->is_connected 3 0 3
422 3 $self->connect;
423 }
424  
425 =head2 B<disconnect()>
426  
427 Disconnects this client from the server. This renders the client useless until
428 you call L</"connect()"> again. This method is called by L</DESTROY()> as part of
429 an object's clean-up process.
430  
431 =cut
432  
433 sub disconnect {
434 7 ▶ my $self = shift;
Subroutine disconnect: called CC=3 SCAR=11.0
Pod documented
435 7 ▶ if ( $self->is_connected ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->is_connected) 5 2 7
436 5 my $socket = $self->{__state}{socket};
437 5 $socket->close;
438 $self->{__state}{ioselect}->remove($socket)
439 5 ▶ if $self->{__state}{ioselect};
Branch: 1 branch
BranchTrueFalseTotal
if $self->{"__state"}{"ioselect"} 5 0 5
440 5 delete $self->{__state}{socket};
441 }
442 }
443  
444 =head2 B<is_connected()>
445  
446 Returns C<true> if this instance is connected to the RIPE Database service
447 configured.
448  
449 =cut
450  
451 sub is_connected {
452 15 ▶ my $self = shift;
Subroutine is_connected: called CC=3 SCAR=11.0
Pod documented
453 15 my $socket = $self->socket;
454 15 ▶ return UNIVERSAL::isa( $socket, 'IO::Socket' )
Branch: 1 branch
BranchTrueFalseTotal
UNIVERSAL::isa($socket, 'IO::Socket') && $socket->connected ? : 12 3 15
Condition66%2/3
UNIVERSAL::isa($socket, "IO::Socket") and $socket->connected
!ll&&!rl&&r
3012
MC/DC50%1/2
UNIVERSAL::isa($socket, "IO::Socket") and $socket->connected
UNIVERSAL::isa($socket, "IO::Socket") $socket->connected
Truth table66%2/3
A and B
A= UNIVERSAL::isa($socket, "IO::Socket")B= $socket->connected
ABresult
0X0
100
111
455 && $socket->connected ? 1 : 0;
456 }
457  
458 =head2 B<DESTROY()>
459  
460 Net::Whois::RIPE object destructor. Called by the Perl interpreter upon
461 destruction of an instance.
462  
463 =cut
464  
465 sub DESTROY {
466 3 ▶ my $self = shift;
Subroutine DESTROY: called CC=1 SCAR=0.0
467 3 $self->disconnect;
468 }
469  
470 =head2 B<query( $query_string )>
471  
472 Sends a query to the server. Returns an L<Iterator> object that will return one RPSL block at a time.
473  
474 =cut
475  
476 # TODO: Identify and ignore comments within the Iterator scope?
477 # TODO: Identify and rise as soon as possible "%ERROR:\d+:.+" results.
478  
479 sub query {
480 1 ▶ my ( $self, $query ) = @_;
Subroutine query: called CC=5 SCAR=16.8
Pod documented
481 1 my $parameters = "";
482 1 ▶ $parameters .= q{ } . QUERY_KEEPALIVE if $self->keepalive;
Branch: 1 branch
BranchTrueFalseTotal
if $self->keepalive 0 1 1
483 1 ▶ $parameters .= q{ } . QUERY_UNFILTERED if $self->unfiltered;
Branch: 1 branch
BranchTrueFalseTotal
if $self->unfiltered 0 1 1
484 1 ▶ $parameters .= q{ } . QUERY_NON_RECURSIVE unless $self->recursive;
Branch: 1 branch
BranchTrueFalseTotal
unless $self->recursive 1 0 1
485 1 ▶ $parameters .= q{ } . QUERY_REFERRAL if $self->referral;
Branch: 1 branch
BranchTrueFalseTotal
if $self->referral 0 1 1
486 1 my $fullquery = $parameters . $query;
487 1 return $self->__query($fullquery);
488 }
489  
490 # Allows me to pass in queries without having all the automatic options added
491 # up to it.
492 sub __query {
493 2 ▶ my ( $self, $query ) = @_;
Subroutine __query: called CC=4 SCAR=14.8
494 2 ▶ $self->reconnect unless $self->keepalive;
Branch: 1 branch
BranchTrueFalseTotal
unless $self->keepalive 2 0 2
495 2 ▶ die "Not connected" unless $self->is_connected;
Branch: 1 branch
BranchTrueFalseTotal
unless $self->is_connected 0 2 2
496  
497 2 ▶ if ( $self->ios->can_write( SOON + $self->timeout ) ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->ios->can_write(30 + $self->timeout)) 2 0 2
498 2 $self->socket->print( $query, EOL );
499  
500 return Iterator->new(
501 sub {
502 4 ▶ local $/ = "\n\n";
Subroutine __ANON__: called CC=3 SCAR=12.0
503 4 ▶ if ( $self->ios->can_read( SOON + $self->timeout ) ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->ios->can_read(30 + $self->timeout)) 4 0 4
504 4 my $block = $self->socket->getline;
505 4 ▶ return $block if defined $block;
Branch: 1 branch
BranchTrueFalseTotal
if defined $block 4 0 4
506 }
507 0 Iterator::is_done;
508 }
509 2 );
510 }
511 }
512  
513 =head2 B<object_types()>
514  
515 Return a list of known object types from the RIPE Database.
516  
517 RIPE currently returns 21 types (Limerik have been removed):
518 as-block as-set aut-num domain filter-set inet6num inetnum inet-rtr irt
519 key-cert mntner organisation peering-set person poem poetic-form role route
520 route6 route-set rtr-set
521  
522 Due to some strange mis-behaviour in the protocol (or documentation?) the RIPE
523 Database server won't allow a keep-alive token with this query, meaning the
524 connection will be terminated after this query.
525  
526 =cut
527  
528 sub object_types {
529 1 ▶ my $self = shift;
Subroutine object_types: called CC=3 SCAR=11.2
Pod documented
530 1 my $iterator = $self->__query(QUERY_LIST_OBJECTS);
531 1 ▶ while ( !$iterator->is_exhausted ) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($iterator->is_exhausted) 2 0 2
532 2 my $value = $iterator->value;
533 2 ▶ return split /\s+/, $value if $value !~ /^%\s/;
Branch: 1 branch
BranchTrueFalseTotal
unless $value =~ /^%\s/ 1 1 2
534 }
535 0 return;
536 }
537  
538 =head1 CAVEATS
539  
540 =over 4
541  
542 =item B<No IPv6 Support>
543  
544 There's no support for IPv6 still on this module. I'm planning to add it in a
545 future version.
546  
547 =item B<Tests Depend On Connectivity>
548  
549 As this is the initial alpha release, there is still some work to do in terms
550 of testing. One of the first things I must work on is to eliminate the
551 dependency on connectivity to the RIPE Database.
552  
553 =item B<Current Interface is not Backwards-Compatible>
554  
555 I plan to implement a drop-in replacement to the old interface soon, as an extension to this module. For now, this module just breaks compatibility with the old interface. Please read the full discussion about compatibility with older version of the L<NET::Whois::RIPE> in the L</"BACKWARD COMPATIBILITY"> section.
556  
557 =back
558  
559 =head1 BUGS
560  
561 Please report any bugs or feature requests to C<bug-net-whois-ripe at
562 rt.cpan.org>, or through the web interface at
563 L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=net-whois-ripe>. I will be
564 notified, and then you'll automatically be notified of progress on your bug as
565 I make changes.
566  
567  
568 =head1 SUPPORT
569  
570 You can find documentation for this module with the perldoc command.
571  
572 perldoc Net::Whois::RIPE
573  
574  
575 You can also look for information at:
576  
577 =over 4
578  
579 =item * RT: CPAN's request tracker
580  
581 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=net-whois-ripe>
582  
583 =item * AnnoCPAN: Annotated CPAN documentation
584  
585 L<http://annocpan.org/dist/net-whois-ripe>
586  
587 =item * CPAN Ratings
588  
589 L<http://cpanratings.perl.org/d/net-whois-ripe>
590  
591 =item * Search CPAN
592  
593 L<http://search.cpan.org/dist/Net-Whois-RIPE>
594  
595 =back
596  
597 =head1 AUTHORS
598  
599 Arnaud Assad, C<< aassad at cpan.org >>
600 Luis Motta Campos, C<< <lmc at cpan.org> >>
601 Paul Gampe
602 Kevin Backer
603  
604 =head1 ACKNOWLEDGEMENTS
605  
606 Thanks to DOOLTA (L<https://www.doolta.com>) for allowing Arnaud Assad to work on this module during some of his office
607 hours.
608  
609 Thanks to Luis Motta Campos for allowing me (Arnaud Assad) the maintenance of this
610 module on CPAN;
611  
612 Thanks to RIPE NCC for allowing Luis Motta Campos to work on this during some of his office
613 hours.
614  
615 Thanks to Paul Gampe for allowing Luis Motta Campos to handle me the maintenance of this
616 module on CPAN;
617  
618 Thanks to Paul Gampe and Kevin Backer for writing previous versions of this
619 module;
620  
621 Thanks to Carlos Fuentes for the nice patch with bugfixes for version 2.00_008.
622 Thanks to Moritz Lenz for all his contributions
623 Thanks to Noris Network AG for allowing him to contribute to this module.
624  
625 =head1 COPYRIGHT & LICENSE
626  
627 Copyright 2012-2020 Arnaud Assad
628 Copyright 2010 Luis Motta Campos, all rights reserved.
629  
630 This program is free software; you can redistribute it and/or modify it
631 under the same terms as Perl itself.
632  
633 =cut
634  
635 5 1;
« Generic.pm ↑ Summary Object/AutNum/AFRINIC.pm »