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

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

NAME

HTML::TokeParser::Simple::Token - Base class for HTML::TokeParser::Simple tokens.


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 base class for all returned tokens. It should never be instantiated directly. In fact, it will croak() if it is.


METHODS

The following list of methods are provided by this class. Most of these are stub methods which must be overridden in a subclass. See the HTML::TokeParser::Simple manpage for descriptions of these methods.

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