1HTML::TokeParser::SimplUes:e:rToCkoenHntT:rM:iLDb:eu:ctTleoadkreaPPteairrolsne(Dr3o:pc:muS)miemnptlaet:i:oTnoken::Declaration(3pm)
2
3
4

NAME

6       HTML::TokeParser::Simple::Token::Declaration - Token.pm declaration
7       class.
8

SYNOPSIS

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

DESCRIPTION

20       This is the declaration class for tokens.
21

OVERRIDDEN METHODS

23   is_declaration
24       is_declaration() will return true if the token is the DTD at the top of
25       the HTML.
26
27
28
29perl v5.38.0                 HTML:2:0T2o3k-e0P7a-r2s0er::Simple::Token::Declaration(3pm)
Impressum