in reply to
Re: Re: (jeffa) Re: RFC: CGI::Tables
in thread RFC: CGI::Tables
Like I said, I hadn't seen DBIx::XHTML_Table before. It was the 96th result returned. Ten pages. I looked for something that filled the need I had, but couldn't find it. I'm not gonna look at every module on CPAN before writing my own. Here is the AoA interface to DBIx::XHTML_Table:
my $rows = [
[ qw(Head1 Head2 Head3) ],
[ qw(foo bar baz) ],
[ qw(one two three) ],
[ qw(un deux trois) ]
my $table = DBIx::XHTML_Table->new($rows);
It's almost identical to the first way of arranging data in my module, but quite different than the other two. The second two are the ones I consider neat. You supply an array and the number of columns or rows that you want and it builds the table for you.
As to contacting module authors, one of the main rules of module writing is "don't change the interface." That makes it rather difficult to contribute to an out of alpha/beta module. I could send my code, but its interface is entirely diferent, so it wouldn't do much good to try to incorporate it.
elusion : http://matt.diephouse.com