man HTML::TokeParser::Simple::Token () - Base class for CWHTML::TokeParser::Simple tokens.

NAME

HTML::TokeParser::Simple::Token - Base class for CWHTML::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 CWcroak() if it is.