{
    "mode": "perldoc",
    "parameter": "ops",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/ops/json",
    "generated": "2026-11-20T10:37:02Z",
    "synopsis": "perl -Mops=:default ...    # only allow reasonably safe operations\nperl -M-ops=system ...     # disable the 'system' opcode",
    "sections": {
        "NAME": {
            "content": "ops - Perl pragma to restrict unsafe operations when compiling\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "perl -Mops=:default ...    # only allow reasonably safe operations\n\nperl -M-ops=system ...     # disable the 'system' opcode\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Since the \"ops\" pragma currently has an irreversible global effect, it is only of significant\npractical use with the \"-M\" option on the command line.\n\nSee the Opcode module for information about opcodes, optags, opmasks and important information\nabout safety.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Opcode, Safe, perlrun\n",
            "subsections": []
        }
    },
    "summary": "ops - Perl pragma to restrict unsafe operations when compiling",
    "flags": [],
    "examples": [],
    "see_also": []
}