Help for this page
open my $tailfh, "tail -F $logfile |" or die "blunze: $!\n";
my @lines; while (<$tailfh>) { ... @lines = (); } }