{
    "mode": "perldoc",
    "parameter": "overloading",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/overloading/json",
    "generated": "2026-07-07T00:03:51Z",
    "synopsis": "{\nno overloading;\nmy $str = \"$object\"; # doesn't call stringification overload\n}\n# it's lexical, so this stringifies:\nwarn \"$object\";\n# it can be enabled per op\nno overloading qw(\"\");\nwarn \"$object\";\n# and also reenabled\nuse overloading;",
    "sections": {
        "NAME": {
            "content": "overloading - perl pragma to lexically control overloading\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "{\nno overloading;\nmy $str = \"$object\"; # doesn't call stringification overload\n}\n\n# it's lexical, so this stringifies:\nwarn \"$object\";\n\n# it can be enabled per op\nno overloading qw(\"\");\nwarn \"$object\";\n\n# and also reenabled\nuse overloading;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This pragma allows you to lexically disable or enable overloading.\n\n\"no overloading\"\nDisables overloading entirely in the current lexical scope.\n\n\"no overloading @ops\"\nDisables only specific overloads in the current lexical scope.\n\n\"use overloading\"\nReenables overloading in the current lexical scope.\n\n\"use overloading @ops\"\nReenables overloading only for specific ops in the current lexical scope.\n",
            "subsections": []
        }
    },
    "summary": "overloading - perl pragma to lexically control overloading",
    "flags": [],
    "examples": [],
    "see_also": []
}