{
    "content": [
        {
            "type": "text",
            "text": "# Pod::Text::Termcap (perldoc)\n\n## NAME\n\nPod::Text::Termcap - Convert POD data to ASCII text with format escapes\n\n## SYNOPSIS\n\nuse Pod::Text::Termcap;\nmy $parser = Pod::Text::Termcap->new (sentence => 0, width => 78);\n# Read POD from STDIN and write to STDOUT.\n$parser->parsefromfilehandle;\n# Read POD from file.pod and write to file.txt.\n$parser->parsefromfile ('file.pod', 'file.txt');\n\n## DESCRIPTION\n\nPod::Text::Termcap is a simple subclass of Pod::Text that highlights output text using the\ncorrect termcap escape sequences for the current terminal. Apart from the format codes, it in\nall ways functions like Pod::Text. See Pod::Text for details and available options.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **COMPATIBILITY**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Pod::Text::Termcap",
        "section": "",
        "mode": "perldoc",
        "summary": "Pod::Text::Termcap - Convert POD data to ASCII text with format escapes",
        "synopsis": "use Pod::Text::Termcap;\nmy $parser = Pod::Text::Termcap->new (sentence => 0, width => 78);\n# Read POD from STDIN and write to STDOUT.\n$parser->parsefromfilehandle;\n# Read POD from file.pod and write to file.txt.\n$parser->parsefromfile ('file.pod', 'file.txt');",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "COMPATIBILITY",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Pod::Text::Termcap - Convert POD data to ASCII text with format escapes\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Pod::Text::Termcap;\nmy $parser = Pod::Text::Termcap->new (sentence => 0, width => 78);\n\n# Read POD from STDIN and write to STDOUT.\n$parser->parsefromfilehandle;\n\n# Read POD from file.pod and write to file.txt.\n$parser->parsefromfile ('file.pod', 'file.txt');\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Pod::Text::Termcap is a simple subclass of Pod::Text that highlights output text using the\ncorrect termcap escape sequences for the current terminal. Apart from the format codes, it in\nall ways functions like Pod::Text. See Pod::Text for details and available options.\n\nThis module uses Term::Cap to find the correct terminal settings. See the documentation of that\nmodule for how it finds terminal database information and how to override that behavior if\nnecessary. If unable to find control strings for bold and underscore formatting, that formatting\nis skipped, resulting in the same output as Pod::Text.\n",
                "subsections": []
            },
            "COMPATIBILITY": {
                "content": "Pod::Text::Termcap 0.04 (based on Pod::Parser) was the first version of this module included\nwith Perl, in Perl 5.6.0.\n\nThe current API based on Pod::Simple was added in Pod::Text::Termcap 2.00. Pod::Text::Termcap\n2.01 was included in Perl 5.9.3, the first version of Perl to incorporate those changes.\n\nSeveral problems with wrapping and line length were fixed as recently as Pod::Text::Termcap\n4.11, included in Perl 5.29.1.\n\nPod::Text::Termcap 4.13 stopped setting the TERMPATH environment variable during module load. It\nalso stopped falling back on VT100 escape sequences if Term::Cap was not able to find usable\nescape sequences, instead producing unformatted output for better results on dumb terminals. The\nnext version to be incorporated into Perl, 4.14, was included in Perl 5.31.8.\n\nThis module inherits its API and most behavior from Pod::Text, so the details in \"COMPATIBILITY\"\nin Pod::Text also apply. Pod::Text and Pod::Text::Termcap have had the same module version since\n4.00, included in Perl 5.23.7. (They unfortunately diverge in confusing ways prior to that.)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Russ Allbery <rra@cpan.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "Copyright 1999, 2001-2002, 2004, 2006, 2008-2009, 2014-2015, 2018-2019, 2022 Russ Allbery\n<rra@cpan.org>\n\nThis program is free software; you may redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Pod::Text, Pod::Simple, Term::Cap\n\nThe current version of this module is always available from its web site at\n<https://www.eyrie.org/~eagle/software/podlators/>. It is also part of the Perl core\ndistribution as of 5.6.0.\n",
                "subsections": []
            }
        }
    }
}