NAME
SNMP::Effective::HostList - Helper module for SNMP::Effective
DESCRIPTION
An object from this class holds an hash-ref where the keys are hostnames and the values are SNMP::Effective::Host objects.
METHODS
new
Object constructor.
length
$int
=
$self
->
length
;
Returns the number of hosts in this hostlist.
get_host
$host_obj
=
$self
->get_host(
$address
);
add_host
$self
->add_host(
address
=>
$str
, ...);
$self
->add_host(
$host_obj
);
shift
$host
=
$self
->
shift
;
Remove a host object from this hostlist, and return it.
AUTHOR
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
See SNMP::Effective