1HTML::TokeParser::SimplUes:e:rToCkoennt:r:iTbeuxtte(d3H)PTeMrLl::DToockuemPeanrtsaetri:o:nSimple::Token::Text(3)
2
3
4

NAME

6       HTML::TokeParser::Simple::Token::Text - Token.pm text class.
7

SYNOPSIS

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

DESCRIPTION

19       This class represents "text" tokens.  See the
20       "HTML::TokeParser::Simple" documentation for details.
21

OVERRIDDEN METHODS

23       •   as_is
24
25       •   is_text
26
27
28
29perl v5.36.0                      2023-H0T1M-L2:0:TokeParser::Simple::Token::Text(3)
Impressum