Looking at perldoc POE::Kernel, it looks like everything you need is already there.
Original alarm and delay methods: ... # Post an event which will be delivered after a delay, specif +ied in # seconds hence. This clears previous timed events with the s +ame # name. $kernel->delay( $event, $seconds, @event_args ); # Post an additional delay, leaving existing ones in the queu +e. $kernel->delay_add( $event, $seconds, @event_args ); June 2001 alarm and delay methods: ... # Post an event which will be delivered a number of seconds h +ence. # This does not clear previous events with the same name. $alarm_id = $kernel->delay_set( $event, $seconds_hence, @etc +); ... # Refresh an existing delay to a number of seconds in the fut +ure. $kernel->delay_adjust( $delay_id, $number_of_seconds_hence ); ...
It looks like you have to use the new _set and _adjust forms, but you can only do adjustments if you saved the id _set returned. Almost looks like you're back to square one :(

Mike

In reply to Re: Accessing POE's delayed event queue by RMGir
in thread Accessing POE's delayed event queue by diotalevi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.