Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

HTML::TokeParser::Simple::Token::Declaration

Name HTML::TokeParser::Simple::Token::Declaration
Version 3.15
Located at /usr/share/perl5
File /usr/share/perl5/HTML/TokeParser/Simple/Token/Declaration.pm
Is Core No
Search CPAN for this module HTML::TokeParser::Simple::Token::Declaration
Documentation HTML::TokeParser::Simple::Token::Declaration
Module Details HTML::TokeParser::Simple::Token::Declaration

NAME

HTML::TokeParser::Simple::Token::Declaration - Token.pm declaration class.


SYNOPSIS

 use HTML::TokeParser::Simple;
 my $p = HTML::TokeParser::Simple->new( $somefile );
 while ( my $token = $p->get_token ) {
     # This prints all text in an HTML doc (i.e., it strips the HTML)
     next unless $token->is_text;
     print $token->as_is;
 }


DESCRIPTION

This is the declaration class for tokens.


OVERRIDDEN METHODS

is_declaration

is_declaration() will return true if the token is the DTD at the top of the HTML.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026