On Mon, Apr 20, 2009 at 9:58 PM, Oleg Kostyuk <[email protected]> wrote:
>> I don't think that was what Matt asked for. Anyways,
>> 1) Why can't your changes be a patch to Text::SimpleTable?
> I think that new module will be better in this case, because someone
> else can be needed unchanged Text::SimpleTable.
May I suggest:
my $t1 = Text::SimpleTable->new( 5, 10 );
my $t2 = Text::SimpleTable->new( [ 5, 'Foo' ], [ 10, 'Bar' ] );
my $t3 = Text::SimpleTable::AutoWidth->new( {
max_width => 40,
captions => [qw/Foo Bar Baz/],
} );
Backwards compatible, easy to test for.
--
Lars Balker Rasmussen Consult::Perl
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/