HTML::DOM, version 0.010 HTML::DOM is a Perl implementation of the HTML Document Object Model This is an alpha release. So far, the level-1 DOM interfaces and the level-2 core interfaces have been implemented, and some of the level-2 event interfaces. CHANGES IN THIS RELEASE • HTML::DOM::Node’s trigger_event method now returns nothing. (It used to return the return value of the default event handler.) As a side effect, this fixes a few bugs. • The classes for HTML tables and frames have been added. • HTML::DOM::Element now has a content_offset method. • HTML::DOM::Element::Form now has its reset method. • The DOM Level-2 core interfaces are now supported. • I’ve started work on CSS features. So far, elements have a ‘style’ method. • You can now access forms by using an HTML::DOM object as a hash ref. • A checkbox’s click method now toggles the checkbox’s state. • And bug fixes, a long list of which is to be found in the Changes file. TO DO - Add support to HTML::DOM::Interface for UTF-16 methods. - Weaken upward references - Add Level 2 HTML support - Finish Level 2 Events support - Finish Level 2 CSS support - etc. - Write more complete documentation - Write more tests INSTALLATION The easiest way to install this module is to use the CPAN module or the cpan script: [sudo] perl -MCPAN -e "install HTML::DOM" [sudo] cpan HTML::DOM Or you can use the following: perl Makefile.PL make make test [sudo] make install DEPENDENCIES This module requires perl 5.6.0 or later and the following Perl modules: - Scalar Util 1.08 or later - Exporter 5.57 or later - HTML::TreeBuilder and HTML::Element (both part of the HTML::Tree distribution) (tested with 3.23) - URI (tested with 1.35) - HTTP::Headers::Util is required for writing cookies. - HTML::Form 1.054 is required if any of the methods provided for WWW::Mechanize compatibility are to be used. - CSS::DOM Later it will require other modules (including some CSS modules). DOCUMENTATION After installing, you can find documentation for this module with the perldoc command. perldoc HTML::DOM Or try using man (it's faster, in my experience): man HTML::DOM COPYRIGHT AND LICENCE Copyright (C) 2007 Father Chrysostomos This program is free software; you may redistribute it and/or modify it under the same terms as perl.