Net::Whois::RIPE::Iterator
iterator for RIPE object's.
- Provided by: libnet-whois-ripe-perl (Version: 1.23-2)
- Report a bug
iterator for RIPE object's.
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) {
...
}
Implements an iterator for Net::Whois::RIPE::Objects.
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.
Returns undef if no more objects.
0 - no debugging
1 - debugging on
Kevin Baker, <shagol@users.sourceforge.net>
Net::Whois::RIPE Net::Whois::RIPE::Object
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.
Hey! The above document had some coding errors, which are explained below: