{
    "content": [
        {
            "type": "text",
            "text": "# IO::Lines (perldoc)\n\n## NAME\n\nIO::Lines - IO:: interface for reading/writing an array of lines\n\n## SYNOPSIS\n\nuse IO::Lines;\n### See IO::ScalarArray for details\n\n## DESCRIPTION\n\nThis class implements objects which behave just like FileHandle (or IO::Handle) objects, except\nthat you may use them to write to (or read from) an array of lines. They can be tiehandle'd as\nwell.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **VERSION**\n- **AUTHORS** (3 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "IO::Lines",
        "section": "",
        "mode": "perldoc",
        "summary": "IO::Lines - IO:: interface for reading/writing an array of lines",
        "synopsis": "use IO::Lines;\n### See IO::ScalarArray for details",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Primary Maintainer",
                        "lines": 2
                    },
                    {
                        "name": "Principal author",
                        "lines": 2
                    },
                    {
                        "name": "Other contributors",
                        "lines": 7
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "IO::Lines - IO:: interface for reading/writing an array of lines\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use IO::Lines;\n\n### See IO::ScalarArray for details\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This class implements objects which behave just like FileHandle (or IO::Handle) objects, except\nthat you may use them to write to (or read from) an array of lines. They can be tiehandle'd as\nwell.\n\nThis is a subclass of IO::ScalarArray in which the underlying array has its data stored in a\nline-oriented-format: that is, every element ends in a \"\\n\", with the possible exception of the\nfinal element. This makes \"getline()\" *much* more efficient; if you plan to do line-oriented\nreading/printing, you want this class.\n\nThe \"print()\" method will enforce this rule, so you can print arbitrary data to the line-array:\nit will break the data at newlines appropriately.\n\nSee IO::ScalarArray for full usage and warnings.\n",
                "subsections": []
            },
            "VERSION": {
                "content": "$Id: Lines.pm,v 1.3 2005/02/10 21:21:53 dfs Exp $\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "",
                "subsections": [
                    {
                        "name": "Primary Maintainer",
                        "content": "Dianne Skoll (dfs@roaringpenguin.com).\n"
                    },
                    {
                        "name": "Principal author",
                        "content": "Eryq (eryq@zeegee.com). President, ZeeGee Software Inc (http://www.zeegee.com).\n"
                    },
                    {
                        "name": "Other contributors",
                        "content": "Thanks to the following individuals for their invaluable contributions (if I've forgotten or\nmisspelled your name, please email me!):\n\n*Morris M. Siegel,* for his $/ patch and the new \"getlines()\".\n\n*Doug Wilson,* for the IO::Handle inheritance and automatic tie-ing.\n"
                    }
                ]
            }
        }
    }
}