I don't do a lot of HTML stuff, but when I do it usually involves creating a table. I've used HTML::Table in the past and found it very handy. Consequently, I decided to "port" it to Ruby.
I've got a working version now, though I wouldn't really call it a "port". At the end of the day, it's probably best to call it "inspired by". The internals are nothing alike, and the API is similar but by no means identical. I adopted a much more OO approach, in that a Table is an object, TableRow is an object, TableData is an object, etc.
The end result is probably a much more "widget-like" interface than the Perl version and even lets me do some things I don't think are possible in HTML::Table, like delete a row or configure a row on the fly, instead of configuring it after-the-fact.
All this has given me some ideas to share with Anthony Peacock (current maintainer of HTML::Table), though I fear a major re-write of the internals would be necessary.
Re:Ruby to Perl
djberg96 on 2003-06-09T00:51:55
Not really, but it would basically mean scrapping the current implementatin entirely. Since it's Anthony's module, I don't know how keen he would be to change the API or accept wholesale code changes.In any case, I'm going to wait for feedback from the Ruby community to see how they like things before making suggestions to Anthony.