{
    "mode": "perldoc",
    "parameter": "CGI::Pretty",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3APretty/json",
    "generated": "2026-06-12T14:34:54Z",
    "sections": {
        "NAME": {
            "content": "CGI::Pretty - module to produce nicely formatted HTML code\n\nCGI::Pretty IS DEPRECATED\nIt will be removed from the CGI distribution in a future release, so you should no longer use it\nand remove it from any code that currently uses it.\n\nFor now it has been reduced to a shell to prevent your code breaking, but the \"pretty\" functions\nwill no longer output \"pretty\" HTML.\n",
            "subsections": []
        },
        "Alternatives": {
            "content": "HTML::HTML5::Parser + HTML::HTML5::Writer + XML::LibXML::PrettyPrint:\n\nprint HTML::HTML5::Writer->new(\nstarttags => 'force',\nendtags   => 'force',\n)->document(\nXML::LibXML::PrettyPrint->newforhtml( indentstring => \"\\t\" )\n->prettyprint(\nHTML::HTML5::Parser->new->parsestring( $htmlstring )\n)\n);\n\nMarpa::R2::HTML (see the htmlfmt script for examples)\n\nHTML::Tidy\n\nHTML::Parser\n",
            "subsections": []
        }
    },
    "summary": "CGI::Pretty - module to produce nicely formatted HTML code  CGI::Pretty IS DEPRECATED It will be removed from the CGI distribution in a future release, so you should no longer use it and remove it from any code that currently uses it.  For now it has been reduced to a shell to prevent your code breaking, but the \"pretty\" functions will no longer output \"pretty\" HTML.",
    "flags": [],
    "examples": [],
    "see_also": []
}