Skip Menu |

This queue is for tickets about the IO-Async CPAN distribution.

Report information
The Basics
Id: 102068
Status: open
Priority: 0/
Queue: IO-Async

People
Owner: Nobody in particular
Requestors: domq [...] cpan.org
Cc:
AdminCc:

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



Subject: Please make IO::Async::FileStream and IO::Async::File tolerate ENOENT on the ->{filename}
Two reasons: * when rotating a log file, there is a time window where the rotated file has changed name, but the new one doesn't exist yet * it would make it straightforward to tail the logs of a process that hasn't started yet (my use case: I'm writing a /sbin/init in Perl for Docker). It is a little bit of a pain to achieve this through subclassing, which is what I'm currently doing. Thanks in advance!
On Wed Feb 11 04:05:06 2015, DOMQ wrote: Show quoted text
> It is a little bit of a pain to achieve this through subclassing, > which is what I'm currently doing.
Could you supply that subclass (eg. attached file?) so I can see what sort of thing you're doing? -- Paul Evans