1HTML::TokeParser::SimplUes:e:rToCkoennt:r:iHTbTauMgtL:e::d:STtPoaekrretlP(a3Dr)osceurm:e:nStiamtpiloen::Token::Tag::Start(3)
2
3
4
6 HTML::TokeParser::Simple::Token::Tag::Start - Token.pm "start tag"
7 class.
8
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
20 This class does most of the heavy lifting for
21 "HTML::TokeParser::Simple". See the "HTML::TokeParser::Simple" docs
22 for details.
23
25 • as_is
26
27 • delete_attr
28
29 • get_attr
30
31 • get_attrseq
32
33 • get_tag
34
35 • get_token0
36
37 • is_start_tag
38
39 • is_tag
40
41 • return_attr
42
43 • return_attrseq
44
45 • return_tag
46
47 • return_text
48
49 • rewrite_tag
50
51 • set_attr
52
53
54
55perl v5.34.0 HT2M0L2:1:-T0o7k-e2P2arser::Simple::Token::Tag::Start(3)