{
    "content": [
        {
            "type": "text",
            "text": "# TAP::Parser::Iterator::Array (perldoc)\n\n## NAME\n\nTAP::Parser::Iterator::Array - Iterator for array-based TAP sources\n\n## SYNOPSIS\n\nuse TAP::Parser::Iterator::Array;\nmy @data = ('foo', 'bar', baz');\nmy $it   = TAP::Parser::Iterator::Array->new(\\@data);\nmy $line = $it->next;\n\n## DESCRIPTION\n\nThis is a simple iterator wrapper for arrays of scalar content, used by TAP::Parser. Unless\nyou're writing a plugin or subclassing, you probably won't need to use this module directly.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (2 subsections)\n- **ATTRIBUTION**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "TAP::Parser::Iterator::Array",
        "section": "",
        "mode": "perldoc",
        "summary": "TAP::Parser::Iterator::Array - Iterator for array-based TAP sources",
        "synopsis": "use TAP::Parser::Iterator::Array;\nmy @data = ('foo', 'bar', baz');\nmy $it   = TAP::Parser::Iterator::Array->new(\\@data);\nmy $line = $it->next;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Class Methods",
                        "lines": 3
                    },
                    {
                        "name": "Instance Methods",
                        "lines": 12
                    }
                ]
            },
            {
                "name": "ATTRIBUTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "TAP::Parser::Iterator::Array - Iterator for array-based TAP sources\n",
                "subsections": []
            },
            "VERSION": {
                "content": "Version 3.43\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use TAP::Parser::Iterator::Array;\nmy @data = ('foo', 'bar', baz');\nmy $it   = TAP::Parser::Iterator::Array->new(\\@data);\nmy $line = $it->next;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a simple iterator wrapper for arrays of scalar content, used by TAP::Parser. Unless\nyou're writing a plugin or subclassing, you probably won't need to use this module directly.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "",
                "subsections": [
                    {
                        "name": "Class Methods",
                        "content": "\"new\"\nCreate an iterator. Takes one argument: an $arrayref\n"
                    },
                    {
                        "name": "Instance Methods",
                        "content": "\"next\"\nIterate through it, of course.\n\n\"nextraw\"\nIterate raw input without applying any fixes for quirky input syntax.\n\n\"wait\"\nGet the wait status for this iterator. For an array iterator this will always be zero.\n\n\"exit\"\nGet the exit status for this iterator. For an array iterator this will always be zero.\n"
                    }
                ]
            },
            "ATTRIBUTION": {
                "content": "Originally ripped off from Test::Harness.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "TAP::Object, TAP::Parser, TAP::Parser::Iterator,\n",
                "subsections": []
            }
        }
    }
}