1HTML::TokeParser::SimplUes:e:rToCkoennt:r:iCboumtHmeTedMnLtP:(e:3rT)lokDeoPcaurmseenrt:a:tSiiomnple::Token::Comment(3)
2
3
4

NAME

6       HTML::TokeParser::Simple::Token::Comment - Token.pm comment 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 is the class for comment tokens.
20
21       See HTML::Parser for detailed information about comments.
22

OVERRIDDEN METHODS

24   is_comment
25       "is_comment()" will return true if the token is the DTD at the top of
26       the HTML.
27
28
29
30perl v5.12.0                      20H1T0M-L0:5:-T0o2keParser::Simple::Token::Comment(3)
Impressum