in reply to using return to create a module object
my $new_session = Net::SNMP->session(\%options);
just passing the hash itself works
my $new_session = Net::SNMP->session(%options);
My next step will be taking out those unnecessary quotes and cleaning up the code with the suggestion I've received.
thanks -c
|
|---|