Net::Whois::RIPE::Iterator(3pm)

Net::Whois::RIPE::Iterator3pm

Iterator for ripe object's.

Usage

 use Net::Whois::RIPE;
 use Net::Whois::RIPE::Iterator;
 $whois = Net::Whois::RIPE->new($host);
 
 $iterator = Net::Whois::RIPE::Iterator->new($whois,$query);  
 while ($obj = $iterator->next) {
     ...
 }

Overview

Implements an iterator for Net::Whois::RIPE::Objects.

Constructor

new (WHOIS, QUERY)

The constructor returns undef on failure. If debug is on then a message is carped about the failure.

WHOIS is an object of class Net::Whois::RIPE

QUERY is a query string to be sent to the WHOIS object to retrieve the whois objects.

Methods

next()

Returns the next Net::Whois::RIPE::Object from the query.

Returns undef if no more objects.

debug(LEVEL)

Sets/gets debugging level on the class or an object.

 0 - no debugging
 1 - debugging on

Pod errors

Hey! The above document had some coding errors, which are explained below:

Around line 23:

'=item' outside of any '=over'

Around line 33:

You forgot a '=back' before '=head1'

Around line 35:

'=item' outside of any '=over'

Around line 48:

You forgot a '=back' before '=head1'

Releases

5 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0–8

Author

 Kevin Baker, <[email protected]>

From libnet-whois-ripe-perl 1.23-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.