Help for this page

Select Code to Download


  1. or download this
    ...
    my $flat_data =  
    ...
    $tmpl->param( {DATA_LOOP => $columnized_data});
    print "Content-type: text/html\n\n", $tmpl->output();
    
  2. or download this
              A B C
              D E
    
  3. or download this
       [
              {
    ...
                                 ]
              }
            ];
    
  4. or download this
              A C E
              B D
    
  5. or download this
       [
              {
    ...
              }
            ];
    
  6. or download this
    So if your existing TMPL_LOOP section looks like:
    
    ...
    </tmpl_loop>
    
    ____
    
  7. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
       return \@result_rows;
    }
    ____
    
  8. or download this
    columnize(<data set with 11 items>, 5, "down");
    
    ...
          A D F H J   
          B E G I K
          C
    
  9. or download this
          A D G J
          B E H K
          C F I