freebsd-ports/textproc/p5-Text-TabularDisplay/files/patch-TabularDisplay.pm
Erwin Lansing 36c916aee8 Add p5-Text-TabularDisplay 1.18, display text in formatted table output.
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>
2004-05-18 13:55:50 +00:00

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;
}