Help for this page

Select Code to Download


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