Taulmarill has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
is there a common method for managing timed events (done with $kernel->alarm(); and $kernel->delay) in POE programs?
i want to list those events, append informations to them and filter those events by that information. couldn't find anny module/plugin that would do that for me.
in case there is no such module, where there be some features inside the existing POE which made developing such a module easier or more elegant (i'm fiddling around with POE for quite a short time).
all hints, pointers and advisories are appreciated.
I may be wrong (and please somebody correct me if I am), but I don't think there's any standard way to keep track of alarms. It would not be hard to keep track of them yourself, though. A simple array or hash structure should work fine, depending on what exactly you want to do with them.