[Catalyst] [PATCH] Catalyst::DispatchType::Chained (5.7101,
5.80001)
Lars Balker Rasmussen
lars at balker.dk
Mon Apr 20 20:13:37 GMT 2009
On Mon, Apr 20, 2009 at 9:58 PM, Oleg Kostyuk <cub.uanic at gmail.com> 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
More information about the Catalyst
mailing list