HTML::Doctype - HTML/XHTML/XML Doctype Operations
Experimental module to perform some document type declaration related operations. It currently depends on SGML::Parser::OpenSP for which it provides a handler HTML::Doctype::Detector which can be used to detect document type declarations.
my $p = SGML::Parser::OpenSP->new;
my $h = HTML::Doctype::Detector->new($p);
Future versions may offer additional functionality.
Copyright (c) 2004-2008 Bjoern Hoehrmann <firstname.lastname@example.org>.
This module is licensed under the same terms as Perl itself.
To install HTML::Doctype, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.