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