Help for this page

Select Code to Download


  1. or download this
    my $status = shift @cells;
    my $end = pop @cells;
    my $start = pop @cells;
    print "<td>$_</td>" for ($status, join(' ', @cells), $start, $end);
    
  2. or download this
    # Do this once:
    my $status_re = qr{\w+};
    ...
    ...
    # Do this in the while loop
    print "<td>$_</td>" for $line =~ $log_re;