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