{
    "content": [
        {
            "type": "text",
            "text": "# Template::Plugin::Iterator (perldoc)\n\n## NAME\n\nTemplate::Plugin::Iterator - Plugin to create iterators (Template::Iterator)\n\n## SYNOPSIS\n\n[% USE iterator(list, args) %]\n[% FOREACH item = iterator %]\n[% '<ul>' IF iterator.first %]\n<li>[% item %]\n[% '</ul>' IF iterator.last %]\n[% END %]\n\n## DESCRIPTION\n\nThe iterator plugin provides a way to create a Template::Iterator object to iterate over a data\nset. An iterator is implicitly automatically by the FOREACH directive. This plugin allows the\niterator to be explicitly created with a given name.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTHOR**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Template::Plugin::Iterator",
        "section": "",
        "mode": "perldoc",
        "summary": "Template::Plugin::Iterator - Plugin to create iterators (Template::Iterator)",
        "synopsis": "[% USE iterator(list, args) %]\n[% FOREACH item = iterator %]\n[% '<ul>' IF iterator.first %]\n<li>[% item %]\n[% '</ul>' IF iterator.last %]\n[% END %]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Template::Plugin::Iterator - Plugin to create iterators (Template::Iterator)\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "[% USE iterator(list, args) %]\n\n[% FOREACH item = iterator %]\n[% '<ul>' IF iterator.first %]\n<li>[% item %]\n[% '</ul>' IF iterator.last %]\n[% END %]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The iterator plugin provides a way to create a Template::Iterator object to iterate over a data\nset. An iterator is implicitly automatically by the FOREACH directive. This plugin allows the\niterator to be explicitly created with a given name.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Andy Wardley <abw@wardley.org> <http://wardley.org/>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.\n\nThis module is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Template::Plugin, Template::Iterator\n",
                "subsections": []
            }
        }
    }
}