Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • A Suggestion (Score:2, Informative)

    by dreadpiratepeter (2770) on 2003.02.05 20:01 (#16753)
    Depending on your miniumum level of browser support you might find is simpler and more portable to have the javascript manipulate the DOM directly. IE 5.5 and Mozilla 1.whatever both have pretty complete DOM support (except for Microsoft's propriatary event stuff).
    Plus it really cuts down on the hardest part of the perl-that-generates-html-that-contains-javascript-the-generates-html-that-contai ns-javascript parentheses-nesting nightmare.
    With the O'Reilly Dynamic HTML book (2nd edition) it's easy to cut through a lot of that. With Data::Locations to build clean HTML it's even easier.

    • One of my coworkers was mentioning that book today. Sigh. More money to spend.

      I'll have to check out that module, too. I've not heard of it.

      • "Dynamic HTML: The Complete Reference" would be a bargain if they priced it at $500 dollars, in the 6 months I have had it, I would estimate that it has saved me at least 20 hours of billable time (probably more). Multiply that by the billing rate of your choosing and calculate it's value. It details every last nook and cranny of HTML, the DOM, all the event models, CSS and JavaScript Core Classes. And it documents what works and doesn't work in every resonable version of IE, Mac IE and Netscape/Mozilla