{
    "mode": "perldoc",
    "parameter": "HTML::TokeParser::Simple::Token::Comment",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/HTML%3A%3ATokeParser%3A%3ASimple%3A%3AToken%3A%3AComment/json",
    "generated": "2026-07-05T13:51:16Z",
    "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::Comment - Token.pm comment 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 class for comment tokens.\n\nSee HTML::Parser for detailed information about comments.\n",
            "subsections": []
        },
        "OVERRIDDEN METHODS": {
            "content": "iscomment\n\"iscomment()\" will return true if the token is the DTD at the top of the HTML.\n",
            "subsections": []
        }
    },
    "summary": "HTML::TokeParser::Simple::Token::Comment - Token.pm comment class.",
    "flags": [],
    "examples": [],
    "see_also": []
}