HTML::...::Start(3pm)
π HTML::TokeParser::Simple::Token::Tag::Start π
okay so bestie, you found the manual page for HTML::...::Start(3pm) β which is the β¨fullβ¨ name HTML::TokeParser::Simple::Token::Tag::Start β the token class for start tags in HTML::TokeParser::Simple. It lives in the User Contributed Perl Documentation corner of your system, and honestly? It's lowkey the backbone of the whole operation. π«Ά
πΈ NAME πΈ
HTML::TokeParser::Simple::Token::Tag::Start β the Token.pm "start tag" class. That's it, that's the whole vibe. π
π SYNOPSIS π
use HTML::TokeParser::Simple;
my $p = HTML::TokeParser::Simple->new( $somefile );
while ( my $token = $p->get_token ) {
# This prints all text in an HTML doc (i.e., it strips the HTML)
next unless $token->is_text;
print $token->as_is;
}
like. look at that loop. it's giving elegant. you grab a parser, you spin through tokens, you skip anything that isn't text, and you print what's left. HTML? gone. stripped. not invited. π
π¦ DESCRIPTION π¦
so this class? it does most of the heavy lifting for HTML::TokeParser::Simple. main character energy fr fr. if you want the actual details, the HTML::TokeParser::Simple docs are where you wanna be β this page is just the start-tag corner of the universe. β
β¨ OVERRIDDEN METHODS β¨
these are the methods this class has overridden, bestie. all fourteen of them, no skips, no cuts, no cap:
as_isdelete_attrget_attrget_attrseqget_tagget_token0is_start_tagis_tagreturn_attrreturn_attrseqreturn_tagreturn_textrewrite_tagset_attr
like, that's a list. that's the whole roster. iykyk. π₯
and that's the page, babes π this was perl v5.32.1, dated 2021-12-05, filed under HTML::...::Start(3pm) β go forth and tokenize, you absolute icon πβ¨π¦
π¦ where this page comes from
- debian bookworm: libhtml-tokeparser-simple-perl 3.16-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhtml-tokeparser-simple-perl 3.16-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-tokeparser-simple-perl 3.16-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-tokeparser-simple-perl 3.16-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-tokeparser-simple-perl 3.16-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-tokeparser-simple-perl 3.16-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms