{
    "content": [
        {
            "type": "text",
            "text": "# subs (man)\n\n## NAME\n\nsubs - Perl pragma to predeclare subroutine names\n\n## SYNOPSIS\n\nuse subs qw(frob);\nfrob 3..10;\n\n## DESCRIPTION\n\nThis will predeclare all the subroutines whose names are in the list, allowing you to use\nthem without parentheses (as list operators) even before they're declared.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "subs",
        "section": "",
        "mode": "man",
        "summary": "subs - Perl pragma to predeclare subroutine names",
        "synopsis": "use subs qw(frob);\nfrob 3..10;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "subs - Perl pragma to predeclare subroutine names\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use subs qw(frob);\nfrob 3..10;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This will predeclare all the subroutines whose names are in the list, allowing you to use\nthem without parentheses (as list operators) even before they're declared.\n\nUnlike pragmas that affect the $^H hints variable, the \"use vars\" and \"use subs\" declarations\nare not lexically scoped to the block they appear in: they affect the entire package in which\nthey appear.  It is not possible to rescind these declarations with \"no vars\" or \"no subs\".\n\nSee \"Pragmatic Modules\" in perlmodlib and \"strict subs\" in strict.\n\n\n\nperl v5.34.0                                 2025-07-25                                  subs(3perl)",
                "subsections": []
            }
        }
    }
}