Aug 062012
 

If you get this on a Debian/Ubuntu system:

Can’t locate NetAddr/IP.pm in @INC

just do a: apt-get install libnet-ip-perl. Dont try to “cpan -i NetAddr::IP”, it doesnt work (at least for me).

Same for

“Can’t locate Net/Netmask.pm in @INC” apt-get install libnet-netmask-perl
“Can’t locate Net/DNS.pm in @INC” – apt-get install libnet-dns-perl
“Can’t locate XML/Writer.pm in @INC” – apt-get install libxml-writer-perl