In the first instance you want to change the error report on not being able to create the SNMP session to something like:
as a) you have just determined that $session is undef so you can't call a method on it and b) the method call wouldn't be interpolated in a string anyway as you are seeing. $error here is returned by session and has a meaningful value if the session creation failed.print ("Err Creation Session Obj: $error ");
/J\
In reply to Re: SNMP using perl/cgi
by gellyfish
in thread SNMP using perl/cgi
by msk_0984
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |