HTML::DOM, version 0.020 HTML::DOM is a Perl implementation of the HTML Document Object Model This is an alpha release. So far, the level-2 core and HTML DOM interfaces have been implemented, most of the level-2 event interfaces and some of the level-2 style sheet interfaces. CHANGES IN THIS RELEASE Incompatible changes: • HTML::DOM’s defaultView attribute no longer has anything assigned to it by default. • The defaultView attribute now holds a weak reference to the view, and the view holds a strong reference to the document. New features: • HTML::DOM now has an event_parent method, with which you can add an object to the top of the event dispatch chain. • HTML::DOM::NodeList::Magic’s constructor is now officially public. Use this if you need to create a custom ‘live’ node list. • HTML::DOM now has an event_listeners_enabled method that allows event handlers to be disabled. Also, any subclass of EventTarget can implement this to achieve the same effect. Bug fixes: • innerHTML no longer dies when there are event attributes in the HTML code fed to it. And a couple of minor fixes. See the Changes file. TO DO - Finish Level 2 Events support (HTMLEvents) - Finish Level 2 CSS support - outerHTML? - Other DOM interfaces (the rest of level 2, and level 3) - Support callback routines for creating DOM objects for frames. - HTML 5 stuff - 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.8.2 or later and the following Perl modules: - Scalar::Util 1.14 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) - LWP 1.13 or later - CSS::DOM 0.05 or later - HTML::Encoding is required if the parse_file method is to be used. - constant::lexical - Hash::Util::FieldHash::Compat 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-8 Father Chrysostomos This program is free software; you may redistribute it and/or modify it under the same terms as perl.