in reply to Re: Re: using return to create a module object
in thread using return to create a module object
You might gain some insight by trying to come up with a small example that demonstrates the problem. Something like
and then explicitly fill in %snmp_options.use strict; use Net::SNMP; my $version = ".1.3.6.1.2.1.1.1.0"; my %snmp_options = ( ... }; $s = NET::SNMP->session(\%snmp_options); print $s->get_request($version); $s->close();
This approach strips out extraneous detail, and should help you isolate the problem quickly.
|
|---|