Lines Matching refs:cols
44 my ($size, $rows, $cols, $coloff, $overlap, $error);
73 $cols = 1;
78 $cols = int ($size / $coloff)
83 elsif ($cols = $params->{ COLS }) {
84 if ($size < $cols) {
85 $cols = $size;
90 $coloff = int ($size / $cols)
91 + ($size % $cols > $overlap ? 1 : 0);
97 $cols = 1;
105 _NCOLS => $cols,
123 my ($data, $cols, $offset, $size, $pad)
135 for (my $c = 0; $c < $cols; $c++) {
150 # it calls cols() to return a list of all columns.
159 # return all cols if row number not specified
160 return $self->cols()
191 # cols()
196 sub cols {
234 [% USE table(list, rows=n, cols=n, overlap=n, pad=0) %]
250 [% FOREACH col IN table.cols %]
262 [% USE table(list, cols=5) %]
272 C<col()>, C<rows()> and C<cols()> as if formatted into a simple two dimensional
281 rows=5 cols=5
320 [% USE table(alphabet, cols=5, pad=0) %]
330 Ditto for C<cols()> and C<col()>.
332 [% USE table(alphabet, cols=5) %]
344 [% USE table(alphabet, cols=3, pad=0) %]
358 [% USE table(alphabet, cols=5) %]
385 [% FOREACH cols = table.cols %]
386 [% FOREACH item = cols %]
413 [% FOREACH row = table.cols -%]