=head1 NAME Net::Whois::RIPE - implementation of RIPE Whois. =head1 SYNOPSIS use Net::Whois::RIPE; $whois = Net::Whois::RIPE->new($host); $whois = Net::Whois::RIPE->new($host,Timeout=>10); $whois = Net::Whois::RIPE->new($host,Timeout=>10,Port=>43); $whois->no_recursive; $whois->source('APNIC'); $whois->type('inetnum'); foreach $inet ($whois->query('203.203.203.203')) { print $inet->inetnum, "\n"; } $whois->query('202.12.28.0'); $whois->update($text); # to minimise memory requirements on large lookups... $iterator = $whois->query_iterator('DNS3-AP'); while ($obj = $iterator->next) { ... } $whois->template('inetnum'); $whois->verbose_template('inetnum'); $whois->debug(1); $whois->max_read_size(1024); $whois->search_all; # -a $whois->fast_raw; # -F $whois->find_less; # -L $whois->find_more; # -m $whois->find_all_more; # -M $whois->no_recursive; # -r $whois->no_referral; # -R $whois->no_sugar; # -S $whois->no_filtering; # -B $whois->no_grouping; # -G $whois->inverse_lookup($attribute); # -i $attribute $whois->source('APNIC'); # -s APNIC $whois->type('person'); # -T person # query only $whois->port(); $whois->server(); =head1 DESCRIPTION Net::Whois::RIPE class implementing a RIPE whois client. =head1 CONSTRUCTOR =over 4 =item B This is the constructor for a new Net::Whois::RIPE object. C is the name of the remote host to which a whois connection is required. C are passed in a hash like fashion, using key and value pairs. Possible options are: Port - The port number to connect to on the remote machine Timeout - Set a timeout value in seconds (defaults to 30) Debug - See debug methog. The constructor returns undef on failure. If B is on then a message is carped about the failure. =back =head1 METHODS =over 4 =item B Sends a template request to whois host for a template of WHOIS_OBJECT_NAME. Results are returned in a I object. The template is retrieved via the I method on the I object. $t = $whois->template('all'); $t = $whois->template('inetnum'); $t = $whois->template('person'); $text = $t->content; If WHOIS_OBJECT_NAME is undefined then the method will carp (under debug) and return undef. =item B Like B