{
    "content": [
        {
            "type": "text",
            "text": "# Pod::Perldoc::GetOptsOO (perldoc)\n\n## NAME\n\nPod::Perldoc::GetOptsOO - Customized option parser for Pod::Perldoc\n\n## SYNOPSIS\n\nuse Pod::Perldoc::GetOptsOO ();\nPod::Perldoc::GetOptsOO::getopts( $obj, \\@args, $truth )\nor die \"wrong usage\";\n\n## DESCRIPTION\n\nImplements a customized option parser used for Pod::Perldoc.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **COPYRIGHT AND DISCLAIMERS**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Pod::Perldoc::GetOptsOO",
        "section": "",
        "mode": "perldoc",
        "summary": "Pod::Perldoc::GetOptsOO - Customized option parser for Pod::Perldoc",
        "synopsis": "use Pod::Perldoc::GetOptsOO ();\nPod::Perldoc::GetOptsOO::getopts( $obj, \\@args, $truth )\nor die \"wrong usage\";",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND DISCLAIMERS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Pod::Perldoc::GetOptsOO - Customized option parser for Pod::Perldoc\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Pod::Perldoc::GetOptsOO ();\n\nPod::Perldoc::GetOptsOO::getopts( $obj, \\@args, $truth )\nor die \"wrong usage\";\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Implements a customized option parser used for Pod::Perldoc.\n\nRather like Getopt::Std's getopts:\n\nCall Pod::Perldoc::GetOptsOO::getopts($object, \\@ARGV, $truth)\nGiven -n, if there's a optnwith, it'll call $object->optnwith( ARGUMENT ) (e.g., \"-n foo\" =>\n$object->optnwith('foo'). Ditto \"-nfoo\")\nOtherwise (given -n) if there's an optn, we'll call it $object->optn($truth) (Truth defaults\nto 1)\nOtherwise we try calling $object->handleunknownoption('n') (and we increment the error count\nby the return value of it)\nIf there's no handleunknownoption, then we just warn, and then increment the error counter\n\nThe return value of Pod::Perldoc::GetOptsOO::getopts is true if no errors, otherwise it's false.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Pod::Perldoc\n",
                "subsections": []
            },
            "COPYRIGHT AND DISCLAIMERS": {
                "content": "Copyright (c) 2002-2007 Sean M. Burke.\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\nThis program is distributed in the hope that it will be useful, but without any warranty;\nwithout even the implied warranty of merchantability or fitness for a particular purpose.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Current maintainer: Mark Allen \"<mallen@cpan.org>\"\n\nPast contributions from: brian d foy \"<bdfoy@cpan.org>\" Adriano R. Ferreira\n\"<ferreira@cpan.org>\", Sean M. Burke \"<sburke@cpan.org>\"\n",
                "subsections": []
            }
        }
    }
}