SPUG: Helpme!!! net:snmp

Andrew Sweger andrew at sweger.net
Sat Oct 2 01:19:16 CDT 2004


On Fri, 1 Oct 2004, Jess Ross wrote:

> use Net::SNMP;
> [...snip...]
> my $result = $session->set_request( -varbindlist => [$sysContact, $type,
> '$value']);
  ^^^^^^^^ 

I'm not familiar with the symptom you're seeing, but the variable $value
wrapped in single quotes looks ripe for trouble. You're adding a literal
string containing the text '$value', not the value stored in the variable
$value, to that anonymous array.

-- 
Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.



More information about the spug-list mailing list