Nested POE?

From: Greg G (ggershSNACK_at_CAKEctc.net)
Date: 03/29/04


Date: Mon, 29 Mar 2004 10:28:34 -0500


I'm working with POE::Component::SNMP and I need to be able to post from
inside a callback. That is, the boxes that I'm walking have this weird
defect where I have to open a new connection with the card number in the
community to walk that card. For example, if my initial connection is
with community "getinfo" I have to walk the card with community
"getinfo@s1".

However, when I try to do any sort of post from within the callback, I
get this "Can't call method "get_request" on an undefined value at
/usr/local/lib/perl5/site_perl/5.8.0/POE/Component/SNMP.pm line 81."

I'm suspicious that the problem might be in the way that P:C:S gives a
global $kernel variable, and even doing another P:C:S->create didn't
help any.

Any suggesstions?

Thanks.

-Greg G