in reply to Where is the bug in this Net::SNMP code?
and check whether what's in $1 is fit to be appended, in the following line:unless ( $ObjectID1 =~ /$sysName(.*)/ ) { last; } # does this what you want? -----^^^^
$ObjectID2 = $prtCoverStatus.$1;
HTH,
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Where is the bug in this Net::SNMP code?
by tolyan77 (Novice) on Oct 09, 2006 at 13:53 UTC |