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