{
    "content": [
        {
            "type": "text",
            "text": "# Test::use::ok (perldoc)\n\n## NAME\n\nTest::use::ok - Alternative to Test::More::useok\n\n## SYNOPSIS\n\nuse ok 'Some::Module';\n\n## DESCRIPTION\n\nAccording to the Test::More documentation, it is recommended to run \"useok()\" inside a \"BEGIN\"\nblock, so functions are exported at compile-time and prototypes are properly honored.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **MAINTAINER**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Test::use::ok",
        "section": "",
        "mode": "perldoc",
        "summary": "Test::use::ok - Alternative to Test::More::useok",
        "synopsis": "use ok 'Some::Module';",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MAINTAINER",
                "lines": 10,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Test::use::ok - Alternative to Test::More::useok\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use ok 'Some::Module';\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "According to the Test::More documentation, it is recommended to run \"useok()\" inside a \"BEGIN\"\nblock, so functions are exported at compile-time and prototypes are properly honored.\n\nThat is, instead of writing this:\n\nuseok( 'Some::Module' );\nuseok( 'Other::Module' );\n\nOne should write this:\n\nBEGIN { useok( 'Some::Module' ); }\nBEGIN { useok( 'Other::Module' ); }\n\nHowever, people often either forget to add \"BEGIN\", or mistakenly group \"useok\" with other\ntests in a single \"BEGIN\" block, which can create subtle differences in execution order.\n\nWith this module, simply change all \"useok\" in test scripts to \"use ok\", and they will be\nexecuted at \"BEGIN\" time. The explicit space after \"use\" makes it clear that this is a single\ncompile-time action.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Test::More\n",
                "subsections": []
            },
            "MAINTAINER": {
                "content": "Chad Granum <exodist@cpan.org>\n\nCC0 1.0 Universal\nTo the extent possible under law, 唐鳳 has waived all copyright and related or neighboring rights\nto Test-use-ok.\n\nThis work is published from Taiwan.\n\n<http://creativecommons.org/publicdomain/zero/1.0>\n",
                "subsections": []
            }
        }
    }
}