- or download this
#!/usr/bin/perl -w
use strict;
...
. "GROUP BY country, loc\n";
print $query;
- or download this
my $depts = $dbh->selectcol_arrayref(qq{SELECT DISTINCT dept FROM dept
+s})
or die "can't get dept values\n";
...
or die "can't get gender values\n";
my @values = ( $depts, $categories, $genders );
- or download this
$query = qq{
SELECT country, loc
...
INNER JOIN countries ON(locs.country_id=countries.country_id)
GROUP BY country, loc
}
- or download this
@permuted = (
['pers', 'consultant', 'm'],
...
['sales', 'employee'],
['sales'],
);
- or download this
$header_formats = [
[
...
{ name => 'total', colspan => 1, rowspan => 1 }
]
];
- or download this
# $level =0; $value = 'N';
print '<td rowspan= "',
shift @{$recs_formats->{$level}->{$value}},
'">', $value,'</td>';
- or download this
$recs_formats = {
0 => {
...
'zzzz' => [ 1, 1, 1, 1, 1, 1 ],
}
};
- or download this
-- xtab { colspan => 22 }
...
+- zzzz { rowspan => 1 }
+- zzzz { rowspan => 1 }