# Now, run the SNMP command. my $response = undef; $response = $session->get_request($cmd); # Check for SNMP command error. if (!defined($response)) {