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::Comment

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

NAME

HTML::TokeParser::Simple::Token::Comment - Token.pm comment 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 class for comment tokens.

See the HTML::Parser manpage for detailed information about comments.


OVERRIDDEN METHODS

is_comment

is_comment() 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