Skip Menu |

This queue is for tickets about the libalarm CPAN distribution.

Report information
The Basics
Id: 38610
Status: new
Priority: 0/
Queue: libalarm

People
Owner: Nobody in particular
Requestors: FBergemann [...] web.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: missing support for 'die' in alarm handlers
Hi, i used 'die' in alarm handler - in order to catch this and other "exceptions" in some 'eval' block. But in Concurrent.pm (also in Queued.pm) there is NO support for such in sub _alrm. Because then it will NOT execute the code after invocation of the alarm handler ( $handler->() ). Can't you just delay the invocation of $handler->() at the end of sub _alrm()? Or use Module AtExit to make sure, that the re-calculation for next alarm queue entry is done - but that would introduce a dependency. best regards! Frank