"be consistent" | |
PerlMonks |
Re: POE::Component::IRC::Plugin Run a CMD All 5minsby rcaputo (Chaplain) |
on Feb 23, 2009 at 20:57 UTC ( [id://745832]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|