Help for this page

Select Code to Download


  1. or download this
    while (@lines) {
        $output .= "<TR>";
        for ( 1 .. 3 ) {
    ...
        }
        $output .= "</TR>";
    }
    
  2. or download this
    my $fill = scalar @lines % 3;
    while ($fill-- > 0) {
        push @lines, " ";
    }