{
    "mode": "perldoc",
    "parameter": "HTML::TokeParser::Simple::Token::Text",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/HTML%3A%3ATokeParser%3A%3ASimple%3A%3AToken%3A%3AText/json",
    "generated": "2026-06-16T04:08:49Z",
    "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::Text - Token.pm text 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 class represents \"text\" tokens. See the \"HTML::TokeParser::Simple\" documentation for\ndetails.\n",
            "subsections": []
        },
        "OVERRIDDEN METHODS": {
            "content": "*   asis\n\n*   istext\n",
            "subsections": []
        }
    },
    "summary": "HTML::TokeParser::Simple::Token::Text - Token.pm text class.",
    "flags": [],
    "examples": [],
    "see_also": []
}