The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.012

  • Incompatible changes: • The parse_file method now uses HTML::Encoding to detect the encoding of the file, if given a file name, and if the encoding has not been set with the new ‘charset’ method or the constructor’s new ‘charset’ option. It used to assume ISO Latin 1. It still treats file handles the same way, though; that is, it assumes the file handle is produc- ing Unicode text (you have to ‘binmode’ to set the encoding if that’s not the case). New features: • The constructor now accepts a ‘charset’ option which is used by parse_file and by the make_request method of form form elements. • A ‘charset’ method has been added to HTML::DOM, which returns the encoding passed to the constructor or that parse_file used. You can also use it to set it. • parse_file’s return value is now useful: true upon success; false upon failure (to open the file) • Upward references in the object tree are now weak references. • I’ve started work on Level-2 HTML features. So far, • HTML::DOM::Interface lists HTMLOptionsCollection as a sepa- rate interface from HTMLCollection and • HTML::DOM::Collection::Options now throws an error if length is set. • A callback routine passed to event_attr_handler now receives the offset within the source of the attribute’s value as the fourth argument. • Attribute methods of elements now support implicit attri- butes (those with default values in the DTD). Bug fixes: • Suppressed an erroneous warning triggered in bleadperl (5.11 to be) by HTML::DOM::Element::Form’s inputs method. • HTML::DOM’s close method had an erroneous eval, which would catch errors that should have been propagated, in addition to the specific error it was intended to catch. • HTML::DOM::Collection::Option’s name and form_name_value methods no longer die when there are no options. • HTML::DOM::Element::Option’s text method now supports multi- ple child nodes, and no longer assumes that there is just one text node within the option. • In cases where the HTML DTD specifies a list of alternates for an attribute’s value, the corresponding DOM 0 methods return a normalised (lc) value. • HTML::DOM::Element’s removeAttributeNode method used to emit warnings when the node did not belong to the element and the element either had no attribute with the node’s name or an attribute that had never been accessed as a node.

Documentation

A subclass of HTML::DOM::Collection for form elements
A subclass of HTML::DOM::Collection for 'option' elements
A Perl class for representing 'a' elements in an HTML DOM tree
A Perl class for representing 'applet' elements in an HTML DOM tree
A Perl class for representing 'area' elements in an HTML DOM tree
A Perl class for representing 'base' elements in an HTML DOM tree
A Perl class for representing a 'basefont' element in an HTML DOM tree
A Perl class for representing 'body' elements in an HTML DOM tree
A Perl class for representing 'br' elements in an HTML DOM tree
A Perl class for representing 'button' elements in an HTML DOM tree
A Perl class for representing 'caption' elements in an HTML DOM tree
A Perl class for representing 'dl' elements in an HTML DOM tree
A Perl class for representing 'dir' elements in an HTML DOM tree
A Perl class for representing 'div' elements in an HTML DOM tree
A Perl class for representing 'fieldset' elements in an HTML DOM tree
A Perl class for representing 'font' elements in an HTML DOM tree
A Perl class for representing 'hr' elements in an HTML DOM tree
A Perl class for representing <html> elements in an HTML DOM tree
A Perl class for representing 'head' elements in an HTML DOM tree
A Perl class for representing heading elements in an HTML DOM tree
A Perl class for representing 'img' elements in an HTML DOM tree
A Perl class for representing 'input' elements in an HTML DOM tree
A Perl class for representing 'isindex' elements in an HTML DOM tree
A Perl class for representing 'li' elements in an HTML DOM tree
A Perl class for representing 'label' elements in an HTML DOM tree
A Perl class for representing 'legend' elements in an HTML DOM tree
A Perl class for representing 'link' elements in an HTML DOM tree
A Perl class for representing 'map' elements in an HTML DOM tree
A Perl class for representing 'menu' elements in an HTML DOM tree
A Perl class for representing 'meta' elements in an HTML DOM tree
A Perl class for representing 'ins' and 'del' elements in an HTML DOM tree
A Perl class for representing 'ol' elements in an HTML DOM tree
A Perl class for representing 'object' elements in an HTML DOM tree
A Perl class for representing 'optgroup' elements in an HTML DOM tree
A Perl class for representing 'option' elements in an HTML DOM tree
A Perl class for representing 'p' elements in an HTML DOM tree
A Perl class for representing 'param' elements in an HTML DOM tree
A Perl class for representing 'pre' elements in an HTML DOM tree
A Perl class for representing quote elements in an HTML DOM tree
A Perl class for representing 'script' elements in an HTML DOM tree
A Perl class for representing 'select' elements in an HTML DOM tree
A Perl class for representing 'style' elements in an HTML DOM tree
A Perl class for representing table rows in an HTML DOM tree
A Perl class for representing table cells in an HTML DOM tree
A Perl class for representing 'col' and 'colgroup' elements in an HTML DOM tree
A Perl class for representing table sections in an HTML DOM tree
A Perl class for representing 'textarea' elements in an HTML DOM tree
A Perl class for representing 'title' elements in an HTML DOM tree
A Perl class for representing 'ul' elements in an HTML DOM tree
A Perl class for representing lists of radio buttons in an HTML DOM tree

Modules

A Perl implementation of the HTML Document Object Model
A Perl class for representing attribute nodes in an HTML DOM tree
A base class shared by HTML::DOM::Text and ::Comment
A Perl implementation of the HTMLCollection interface
A Perl class for representing text nodes in an HTML DOM tree
A boring class that's rarely used.
A Perl class for representing elements in an HTML DOM tree
A Perl class for representing 'form' elements in an HTML DOM tree
A Perl class for representing 'table' elements in an HTML DOM tree
A Perl class for HTML DOM Event objects
The Exception interface for HTML::DOM
HTML::DOM's 'DOMImplementation' object
A list of HTML::DOM's interface members in machine-readable format
A Perl class for representing the nodes of an HTML DOM tree
Simple node list class for HTML::DOM
Magical node list class for HTML::DOM
A Perl class for representing text nodes in an HTML DOM tree
A Perl class for representing an HTML Document's 'defaultView'

Provides

in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element/Table.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element/Table.pm
in lib/HTML/DOM/Element/Table.pm
in lib/HTML/DOM/Element/Table.pm
in lib/HTML/DOM/Element/Table.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/Element.pm
in lib/HTML/DOM/NamedNodeMap.pm
in lib/HTML/DOM/Element/Form.pm
in lib/HTML/DOM.pm