> I think the File::Tail::App can be optimized if you could also read multiple lines at once
This doesn't make any sense because each line is had from File::Tail's read(), you never give it anything to process it gives you what needs processed. So to change it to process a given array would imply that currently you pass it a line to process which you don't :)
If you have an array you want to process the same as you would a live updated each part of just do:
_wag_tail($_) for @my_lines;
Just be sure to your not going to goof up the "lastrun" info or you will lose information, process it twice, or cause infinite loops.
Perhaps if you could elaborate on what you're trying to do exactly it will make more sense and might even be incorporated but as it stands since read() gives a line at a time then the function processes one line.
Otherwise you're not processing a live tailed file :)
Please clarify if I've misunderstood.
thanks :)