{
    "mode": "perldoc",
    "parameter": "Pod::Perldoc::GetOptsOO",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Pod%3A%3APerldoc%3A%3AGetOptsOO/json",
    "generated": "2026-06-16T10:34:07Z",
    "synopsis": "use Pod::Perldoc::GetOptsOO ();\nPod::Perldoc::GetOptsOO::getopts( $obj, \\@args, $truth )\nor die \"wrong usage\";",
    "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(\nARGUMENT ) (e.g., \"-n foo\" => $object->optnwith('foo'). Ditto \"-nfoo\")\nOtherwise (given -n) if there's an optn, we'll call it\n$object->optn($truth) (Truth defaults to 1)\nOtherwise we try calling $object->handleunknownoption('n') (and we\nincrement the error count by the return value of it)\nIf there's no handleunknownoption, then we just warn, and then\nincrement the error counter\n\nThe return value of Pod::Perldoc::GetOptsOO::getopts is true if no\nerrors, 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\nunder the same terms as Perl itself.\n\nThis program is distributed in the hope that it will be useful, but\nwithout any warranty; without even the implied warranty of\nmerchantability 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.\nFerreira \"<ferreira@cpan.org>\", Sean M. Burke \"<sburke@cpan.org>\"\n",
            "subsections": []
        }
    },
    "summary": "Pod::Perldoc::GetOptsOO - Customized option parser for Pod::Perldoc",
    "flags": [],
    "examples": [],
    "see_also": []
}