in reply to Re^3: Problems with the module Net::SNMP
in thread Problems with the module Net::SNMP

if (!defined($session)) { printf("ERROR: %s.\n", $error); exit 1; }
I thought the programm must stop on this line?

Replies are listed 'Best First'.
Re^5: Problems with the module Net::SNMP
by quester (Vicar) on Nov 08, 2006 at 23:43 UTC
    Oops, sorry... yes, you need to change "exit 1" on this line to "next" so the program will continue in this case too.