{
    "content": [
        {
            "type": "text",
            "text": "# ExtUtils::Miniperl (perldoc)\n\n## NAME\n\nExtUtils::Miniperl - write the C code for miniperlmain.c and perlmain.c\n\n## SYNOPSIS\n\nuse ExtUtils::Miniperl;\nwritemain(@directories);\n# or\nwritemain($fh, @directories);\n# or\nwritemain(\\$filename, @directories);\n\n## DESCRIPTION\n\n\"writemain()\" takes an argument list of zero or more directories containing archive libraries\nthat relate to perl modules and should be linked into a new perl binary. It writes a\ncorresponding miniperlmain.c or perlmain.c file that is a plain C file containing all the\nbootstrap code to make the modules associated with the libraries available from within perl. If\nthe first argument to \"writemain()\" is a reference to a scalar it is used as the filename to\nopen for output. Any other reference is used as the filehandle to write to. Otherwise output\ndefaults to \"STDOUT\".\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ExtUtils::Miniperl",
        "section": "",
        "mode": "perldoc",
        "summary": "ExtUtils::Miniperl - write the C code for miniperlmain.c and perlmain.c",
        "synopsis": "use ExtUtils::Miniperl;\nwritemain(@directories);\n# or\nwritemain($fh, @directories);\n# or\nwritemain(\\$filename, @directories);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ExtUtils::Miniperl - write the C code for miniperlmain.c and perlmain.c\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use ExtUtils::Miniperl;\nwritemain(@directories);\n# or\nwritemain($fh, @directories);\n# or\nwritemain(\\$filename, @directories);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "\"writemain()\" takes an argument list of zero or more directories containing archive libraries\nthat relate to perl modules and should be linked into a new perl binary. It writes a\ncorresponding miniperlmain.c or perlmain.c file that is a plain C file containing all the\nbootstrap code to make the modules associated with the libraries available from within perl. If\nthe first argument to \"writemain()\" is a reference to a scalar it is used as the filename to\nopen for output. Any other reference is used as the filehandle to write to. Otherwise output\ndefaults to \"STDOUT\".\n\nThe typical usage is from within perl's own Makefile (to build perlmain.c) or from\nregen/miniperlmain.pl (to build miniperlmain.c). So under normal circumstances you won't have to\ndeal with this module directly.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "ExtUtils::MakeMaker\n",
                "subsections": []
            }
        }
    }
}