{
    "mode": "perldoc",
    "parameter": "Module::Build::Platform::MacOS",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Module%3A%3ABuild%3A%3APlatform%3A%3AMacOS/json",
    "generated": "2026-07-05T13:47:01Z",
    "sections": {
        "NAME": {
            "content": "Module::Build::Platform::MacOS - Builder class for MacOS platforms\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The sole purpose of this module is to inherit from \"Module::Build::Base\" and override a few\nmethods. Please see Module::Build for the docs.\n",
            "subsections": [
                {
                    "name": "Overridden Methods",
                    "content": ""
                },
                {
                    "name": "new",
                    "content": "MacPerl doesn't define $Config{sitelib} or $Config{sitearch} for some reason, but\n$Config{installsitelib} and $Config{installsitearch} are there. So we copy the install\nvariables to the other location\n"
                },
                {
                    "name": "make_executable",
                    "content": "On MacOS we set the file type and creator to MacPerl so it will run with a double-click.\n"
                },
                {
                    "name": "dispatch",
                    "content": "Because there's no easy way to say \"./Build test\" on MacOS, if dispatch is called with no\narguments and no @ARGV a dialog box will pop up asking what action to take and any extra\narguments.\n\nDefault action is \"test\".\n\nACTIONrealclean()\nNeed to unlock the Build program before deleting.\n"
                }
            ]
        },
        "AUTHOR": {
            "content": "Michael G Schwern <schwern@pobox.com>\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "",
            "subsections": [
                {
                    "name": "perl",
                    "content": ""
                }
            ]
        }
    },
    "summary": "Module::Build::Platform::MacOS - Builder class for MacOS platforms",
    "flags": [],
    "examples": [],
    "see_also": []
}