If you are getting this error, you will need to install NET::SNMP Perl CPAN module.
The easiest way to install the NET::SNMP module is to by the CPAN CLI interface.
# perl -MCPAN -e shell
Terminal does not support AddHistory.cpan shell — CPAN exploration and modules installation (v1.7602)
ReadLine support available (try ‘install Bundle::CPAN’)cpan> install Net::SNMP