Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: POE::Component::IRC::Plugin Run a CMD All 5mins

by rcaputo (Chaplain)
on Feb 23, 2009 at 20:57 UTC ( #745832=note: print w/replies, xml ) Need Help??


in reply to POE::Component::IRC::Plugin Run a CMD All 5mins

Since POE::Component::IRC::Plugin uses POE, you get all of POE's features "for free". This includes POE::Kernel's delay() method, which can be used to create a one-shot timer. For repeating timers, your one-shot handler should call delay() again to set up a new timer.

The first example at http://poe.perl.org/?POE_Cookbook/Recurring_Alarms should get you started.

  • Comment on Re: POE::Component::IRC::Plugin Run a CMD All 5mins

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-01-18 06:39 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?