Re: perl usage of the $session->getbulk()

2006-10-05 Thread Carl Hayter
On Thu, Oct 05, 2006 at 11:52:14AM +0200, Harrie Hazewinkel wrote: ...snip... > It returns a list, but is I print the perticular items > of the list, I just get the value. It there not some > way I can get the varbind and then have OID/value? $vars = SNMP::VarList->new( ['ifDescr'], ['ifSpeed'] );

Re: perl usage of the $session->getbulk()

2006-10-05 Thread Wes Hardaker
> "HH" == Harrie Hazewinkel <[EMAIL PROTECTED]> writes: HH> It returns a list, but is I print the perticular items HH> of the list, I just get the value. It there not some HH> way I can get the varbind and then have OID/value? HH> @result = $sess->getbulk(0, 5, $vars); The vars reference yo

perl usage of the $session->getbulk()

2006-10-05 Thread Harrie Hazewinkel
HI, I would like to use the $session->getbulk(..), but I am not sure which kind of values I get back. It returns a list, but is I print the perticular items of the list, I just get the value. It there not some way I can get the varbind and then have OID/value? @result = $sess->getbulk(0, 5, $