Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

POE::Component::IRC catching signals...

by japhy (Canon)
on Jul 14, 2004 at 16:25 UTC ( #374341=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://374341]
Approved by Tomte
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-01-18 06:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (52 votes). Check out past polls.

    Notices?