1HTML::TokeParser::SimplUes:e:rToCkoennt:r:iTbaugt(e3d)PHeTrMlL:D:oTcoukmeePnatrasteiro:n:Simple::Token::Tag(3)
2
3
4
6 HTML::TokeParser::Simple::Token::Tag - Token.pm tag class.
7
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
19 This is the base class for start and end tokens. It should not be
20 instantiated. See "HTML::TokeParser::Simple::Token::Tag::Start" and
21 "HTML::TokeParser::Simple::Token::Tag::End" for details.
22
24 The following list of methods are provided by this class. See
25 HTML::TokeParser::Simple for descriptions of these methods.
26
27 · as_is
28
29 · get_tag
30
31 · return_text
32
33
34
35perl v5.30.0 2019-0H7T-M2L6::TokeParser::Simple::Token::Tag(3)