|Subject:||Message::Passing::Input::FileTail reacts very badly to EOF (e.g. tail process dies)|
If the tail process that Message::Passing::Input::FileTail is reading dies the AnyEvent->io callback fires continuously sending a stream of undef messages into the message chain. The effect isn't pretty :) EOF needs to be detected and the command either restarted (with a warning and restart limit) or the input stream disabled in some way (with a warning). Perhaps a callback could be called to warn, make the decision, and return true (restart) false (disable) or throw an exception. Then the module doesn't need to implement much logic.