On Thu, 13 Sep 2001, dLux wrote:
> /--- On Thu, Sep 13, 2001 at 11:55:37PM +0530, [EMAIL PROTECTED] wrote:
> | I need a Perl module implementing multiple timers with asynchronous
> | notifications using callbacks or other means.
> \---
>
> Not quite what you want, but you write it in about 20-30 lines:
>
> - use Heap::Binary for handling jobs
> - use "alarm" for waking up at the next job
Or "sleep", if you don't need a background thread running between
events. The Time::HiRes version is recommended.
But if you're looking for something with more bells and whistles and
existing functionality, I'd say POE is indeed the thing.
--
Ilmari Karonen - http://www.sci.fi/~iltzu/
"There seems to be a very, very fine line between cutting-edge physicists
and utter nutballs." -- Steve VanDevender in the monastery