SYNOPSIS

 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) {
     ...
 }

DESCRIPTION

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

CONSTRUCTOR

new (\s-1WHOIS\s0, \s-1QUERY\s0)

The constructor returns undef on failure. If debug is on then a message is carped about the failure. \s-1WHOIS\s0 is an object of class Net::Whois::RIPE \s-1QUERY\s0 is a query string to be sent to the \s-1WHOIS\s0 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(\s-1LEVEL\s0)

Sets/gets debugging level on the class or an object. 0 - no debugging 1 - debugging on

AUTHOR

Kevin Baker, <[email protected]>

RELATED TO Net::Whois::RIPE::Iterator…

Net::Whois::RIPE Net::Whois::RIPE::Object

COPYRIGHT

Copyright (C) 2000 Kevin Baker and APNIC Pty. Ltd.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

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'