
Net::Peep::Host::Pool - A pool, or group, of Net::Peep::Host objects

use Net::Peep::Host;

A pool, or group, of Net::Peep::Host objects and associated methods for thier usage and manipulation.
new() - The constructor. addHost($host) - Adds the host $host (a Net::Peep::Host object) to the host pool. hosts($host) - Returns the array of hosts in the host pool. getHostByName($name) - Returns the host with name $name from the host pool. If no host is found with that name, it returns undef. getHostByAddr($ip) - Returns the host with IP address $ip. If no host is found with that address, it returns undef. addHosts($string) - Takes a comma-delimited string of IP addresses or host names, parses them, and adds them to the host pool. isInHostPool($string) - Takes a host name or IP address and checks whether it is in the host pool. areInHostPool(@strings) - Takes a list of host names and/or IP addresses and checks whether any of them are in the host pool.

Collin Starkweather (C) 2001.

perl(1), Net::Peep, Net::Peep::Host.