So, still having peoblems with net-snmp and perl...  The session's
getting created, I can get(), but I can't pull the data out.

I'm running perl 5.8.4 with snmp pre2, on freebsd 4.5...

Here's the code snippet...

 my $snmpGrab = 'sysDescr.0';
 my $snmpCount = 1;

 my $var = $session->bulkwalk(0, $snmpCount, $snmpGrab);
 print $$var[0]->val . "\n";

Which is simple, straightforward, pretty much grabbed exactly from example code.

Aaand, here's the error message:

 Can't locate object method "val" via package "SNMP::VarList"

Thank you for any help you can give me.


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to