forked from Lainports/freebsd-ports
Text::TabularDisplay simplifies displaying textual data in a table. The output is identical to the columnar display of query results in the mysql text monitor. WWW: http://search.cpan.org/dist/Text-TabularDisplay PR: ports/66804 Submitted by: Lars Thegler <lars@thegler.dk>
11 lines
325 B
Perl
11 lines
325 B
Perl
--- TabularDisplay.pm.orig Sun May 16 23:07:02 2004
|
|
+++ TabularDisplay.pm Mon May 17 23:56:08 2004
|
|
@@ -240,7 +240,7 @@
|
|
|
|
push @data, $add->[$i];
|
|
$length->[$i] = $l
|
|
- unless $length->[$i] > $l;
|
|
+ unless defined $length->[$i] and $length->[$i] > $l;
|
|
}
|
|
push @$where, \@data;
|
|
}
|