{
    "mode": "perldoc",
    "parameter": "HTML::TokeParser::Simple::Token::Tag",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/HTML%3A%3ATokeParser%3A%3ASimple%3A%3AToken%3A%3ATag/json",
    "generated": "2026-07-05T09:32:43Z",
    "synopsis": "use HTML::TokeParser::Simple;\nmy $p = HTML::TokeParser::Simple->new( $somefile );\nwhile ( my $token = $p->gettoken ) {\n# This prints all text in an HTML doc (i.e., it strips the HTML)\nnext unless $token->istext;\nprint $token->asis;\n}",
    "sections": {
        "NAME": {
            "content": "HTML::TokeParser::Simple::Token::Tag - Token.pm tag class.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use HTML::TokeParser::Simple;\nmy $p = HTML::TokeParser::Simple->new( $somefile );\n\nwhile ( my $token = $p->gettoken ) {\n# This prints all text in an HTML doc (i.e., it strips the HTML)\nnext unless $token->istext;\nprint $token->asis;\n}\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is the base class for start and end tokens. It should not be instantiated. See\n\"HTML::TokeParser::Simple::Token::Tag::Start\" and \"HTML::TokeParser::Simple::Token::Tag::End\"\nfor details.\n",
            "subsections": []
        },
        "OVERRIDDEN METHODS": {
            "content": "The following list of methods are provided by this class. See HTML::TokeParser::Simple for\ndescriptions of these methods.\n\n*   asis\n\n*   gettag\n\n*   returntext\n",
            "subsections": []
        }
    },
    "summary": "HTML::TokeParser::Simple::Token::Tag - Token.pm tag class.",
    "flags": [],
    "examples": [],
    "see_also": []
}