Help for this page

Select Code to Download


  1. or download this
    my @lines;
    my $maxlines = 10;
    ...
        shift @lines if (@lines > $maxlines);
    }
    print join("\n", @lines) . "\n";