This is more of an enhancement instead of a bug but since the author is unresponsive (I asked a question 3 weeks + ago while starting work on File::Tail::App (the seek_to() method to be exact) and never got a response) so I'm posting it here in hopes it will get read :)
In the POD its stated:
Show quoted text
> If the open fails, the module performs a croak.
> I am currently looking for a way to set $! and return undef.
instead of:
unless (open($newhandle,"<$newname")) {
...
}
use:
open $newhandle, '<', $newname or return;
...
Also, it'd be great if the code was "Perl Best Practices" (By Damian Conway - O'reilley) safe (or at least much more cleanly written) so it'd be easier to work with. Just my .02 :)
HTH
- Dan Muey