HTML::DOM::Implementation - HTML::DOM's 'DOMImplementation' object
$impl = $HTML::DOM::Implementation::it; $impl->hasFeature('HTML', '1.0'); # returns true $impl->hasFeature('XML' , '1.0'); # returns false
This singleton class provides HTML::DOM's 'DOMImplementation' object. There is no constructor. The object itself is accessible as $HTML::DOM::Implementation::it or HTML::DOM->implementation.
$HTML::DOM::Implementation::it
HTML::DOM->implementation
This returns true or false depending on whether the feature is supported. $name is case-tolerant. $version is optional. The supported features are listed under "DESCRIPTION" in HTML::DOM. If $version is '1.0', this method only returns true for 'Core' and 'HTML'.
$name
$version
$version is '1.0', this method only returns true for 'Core' and 'HTML'.
HTML::DOM
1 POD Error
The following errors were encountered while parsing the POD:
Unterminated C<...> sequence
To install HTML::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::DOM
CPAN shell
perl -MCPAN -e shell install HTML::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.