{
    "mode": "perldoc",
    "parameter": "Pod::Perldoc::GetOptsOO",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Pod%3A%3APerldoc%3A%3AGetOptsOO/json",
    "generated": "2026-07-05T23:28:50Z",
    "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( 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": []
        }
    },
    "summary": "Pod::Perldoc::GetOptsOO - Customized option parser for Pod::Perldoc",
    "flags": [],
    "examples": [],
    "see_also": []
}