--- Stas Bekman <[EMAIL PROTECTED]> wrote: > James.Q.L wrote: > > my apology. > > > > i was thinking that was a problem with mod_perl somewhere in my code since the > > same snmp query > > result is the same as the next one. > > It's possible, but you haven't even mentioned that you were running mod_perl > ;). Have you tried running that code as a standalone program and it worked > just fine? >
turns out the problem is not related to mod_perl. i didn't set -retrives for the snmp session, so it tries one more time when the first one failed. set -retrives to 0 fix it. Qiang. __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html