jryan has asked for the wisdom of the Perl Monks concerning the following question:

I was browsing through cpan the other day, when I came across TK::HTML. Since TK and HTML are two completely different things, I became intrigued. I went to look for the documentation to see what it did, but there was none. I felt this was odd considering the module was in version 3. I tried harder to find documentation; I downloaded the module, hoping for pod, and I found some: 2 lines worth for 25k worth of code. Becoming angry because of the irresponsible developer, I gave up.

Despite the fact that I may never figure out how to use TK::HTML, I would still like to know what it DOES (if anything). If anyone knows, please tell me :) Thanks.

  • Comment on Does anyone have any experience with TK::HTML?

Replies are listed 'Best First'.
(ichimunki) Re: Does anyone have any experience with TK::HTML?
by ichimunki (Priest) on Sep 07, 2001 at 02:12 UTC
    I have some experience with it. I ran the tkbrowser (not sure what the name of the actual script is) that is included with that module. It didn't work. I made some changes and it ran. The Tk::HTML module seems to mostly support the header tags and a few other basic text rendering aspects of HTML like lists. From mucking about with the tkbrowser (or whatever it was) script, you can get a sense of what kind of calls are necessary to use the Tk::HTML module.

    Frankly, HTML rendering is extremely complex (and tedious to program). The fact that this module does anything at all is nice. However, it is completely inadequate for anything except read-only efforts like man pages or perldoc converted to HTML. I don't think the package maintainer, Nick Ing-Simmons, is at all irresponsible (although it would have been nice to have at least a sample call to the library in the perldocs). Nick is extremely active in the Tk user community and the reason the Tk::HTML package has such a high version number is because the rest of the Tk packages have such a high version number. Given that Nick appears to have not worked on the Tk::HTML module since 1998, I'd say that there is not going to be much progress in that area unless you're willing to take it over.
Re: Does anyone have any experience with TK::HTML?
by patgas (Friar) on Sep 07, 2001 at 10:12 UTC

    I went looking for an HTML renderer, and wxPerl was recommended to me. I'm by no means an OO or GUI expert, and I've managed to get some simple stuff working with it. It supposedly supports most HTML. Might be worth looking into...

    "We're experiencing some Godzilla-related turbulence..."