- or download this
use SNMP;
use Net::MAC;
my $ip_address : shared= "";
my $pool : shared = 0;
my $nthreads = 10; # Number of threads in pool
- or download this
foreach (1..$nthreads) {
threads->create(\&getIP);
}
- or download this
foreach $ip (@ip_addresses) {
...
}
- or download this
sub getIP {
...
}
}