NetworkInfo::Discovery::Detect - Super Class for all detection modules
See NetworkInfo::Discovery::(Sniff|Traceroute|Scan) for examples.
NetworkInfo::Discovery::Detect is set up to be the super class of all the detection modules. It sets up the methods for setting and getting the discovered information about interfaces, gateways, and subnets.
just set up lists for holding interfaces, subnets, and gateways
this needs to be implemented in the subclass. it should do what ever it does to detect interfaces, gateways, or subnets adding them to our lists by using the add_* methods below.
returns a list of hash references for interfaces, gateways, or subnets.
adds the hash ref to the list of interfaces, gateways, or subnets.
Tom Scanlan <tscanlan@they.gotdns.org>
NetworkInfo::Discovery::Sniff
NetworkInfo::Discovery::Traceroute
NetworkInfo::Discovery::Scan
Please send any bugs to Tom Scanlan <tscanlan@they.gotdns.org>
To install NetworkInfo::Discovery, copy and paste the appropriate command in to your terminal.
cpanm
cpanm NetworkInfo::Discovery
CPAN shell
perl -MCPAN -e shell install NetworkInfo::Discovery
For more information on module installation, please visit the detailed CPAN module installation guide.