http://qs321.pair.com?node_id=374341

japhy has asked for the wisdom of the Perl Monks concerning the following question:

I cannot get my POE::Component::IRC bot to catch any signal except "INT". I'm modifying the dicebot.pl example that comes with the module.
# this one works fine... $kernel->sig( INT => "sigint" ); # this one does nothing! $kernel->sig( USR1 => "interactive" );
Yes, there is an "interactive" method. And I've tried numerous different signal names. What am I missing?
_____________________________________________________
Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Replies are listed 'Best First'.
Re: POE::Component::IRC catching signals...
by roju (Friar) on Jul 14, 2004 at 17:55 UTC

    Just to double-check - there's an interactive method, but is there an "interactive" event registered that points to your method?

    I'm looking at this code as I ask.

      You got it. Thanks.
      _____________________________________________________
      Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
      How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart