On Friday 11 January 2002 06:09 pm, you wrote:
<snip>
> As far as I can tell, you have two options.
>
> This will remove the previous delay and set a new one.  The old ID is
> overwritten by a new one.
>
>   $kernel->alarm_remove( $id );
>   $id = $kernel->delay_set( event_name => 120 );

Well, that was obvious, my bad. :)

> You can also use the one-shot delay().  This will remove the old
> timeout for "event_name" and add a new one for time()+120.  The
> drawback here is that you can't have more than one timeout for
> "event_name" in the same session.
>
>   $kernel->delay( event_name => 120 );

This is what I was doing originally, but I must've done something incorrectly 
because the event never seemed to occur, even when successive success events 
ceased to arrive.  I'll try it again and test more thoroughly before 3AM when 
I'm awake.

Thanks!

> Also see: http://poe.perl.org/?POE_Cookbook/Recurring_Alarms
>
> -- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net

Reply via email to