HTML::HTML5::DOM::HTMLFormControlsCollection - implementation of the HTMLFormControlsCollection interface of the HTML DOM
HTML::HTML5::DOM::HTMLFormControlsCollection is an implementation of the HTMLFormControlsCollection interface of the HTML DOM. See HTML::HTML5::DOM for a list of the conventions that have been used when translating the DOM to Perl.
This class applies to the following HTML elements.
HTML::HTML5::DOM::HTMLFormControlsCollection inherits methods from the following Perl classes.
HTML::HTML5::DOM::HTMLCollection
XML::LibXML::NodeList
HTML::HTML5::DOMutil::FancyISA
As well as its inherited methods, this class provides the following methods.
namedItem
Given a name, returns a list of nodes of elements where the @id or @name attribute matches that name. In scalar context this can return a single element if there's only one match, or a HTML::HTML5::DOM::RadioNodeList if there is more than one - this is a kinda annoying feature, but it is required for DOM compliance. Best to just call it in list context.
p5_wwwFormPairs
Returns a list of [$name => $value] tuples for the elements on the list.
[$name => $value]
p5_wwwFormUrlencoded
Returns a form-encoded (foo=bar&quux=xyzzy) string for the elements on the list.
foo=bar&quux=xyzzy
http://rt.cpan.org/Dist/Display.html?Queue=HTML-HTML5-DOM.
HTML::HTML5::DOM.
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2012, 2014 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install HTML::HTML5::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::HTML5::DOM
CPAN shell
perl -MCPAN -e shell install HTML::HTML5::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.