SNMP::Effective::HostList - Helper module for SNMP::Effective
An object from this class holds an hash-ref where the keys are hostnames and the values are SNMP::Effective::Host objects.
Object constructor.
$int = $self->length;
Returns the number of hosts in this hostlist.
$host_obj = $self->get_host($address);
$self->add_host(address => $str, ...); $self->add_host($host_obj);
$host = $self->shift;
Remove a host object from this hostlist, and return it.
See SNMP::Effective
To install SNMP::Effective, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Effective
CPAN shell
perl -MCPAN -e shell install SNMP::Effective
For more information on module installation, please visit the detailed CPAN module installation guide.