{
    "mode": "info",
    "parameter": "IO::Lines",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/IO%3A%3ALines/json",
    "generated": "2026-07-05T13:14:27Z",
    "synopsis": "use IO::Lines;\n### See IO::ScalarArray for details",
    "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\nIO::Handle) objects, except that you may use them to write to (or read\nfrom) an array of lines.  They can be tiehandle'd as well.\n\nThis is a subclass of IO::ScalarArray in which the underlying array has\nits data stored in a line-oriented-format: that is, every element ends\nin a \"\\n\", with the possible exception of the final element.  This\nmakes \"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\ndata to the line-array: it will break the data at newlines\nappropriately.\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": "Primary Maintainer\nDianne Skoll (dfs@roaringpenguin.com).\n\nPrincipal author\nEryq (eryq@zeegee.com).  President, ZeeGee Software Inc\n(http://www.zeegee.com).\n\nOther contributors\nThanks to the following individuals for their invaluable contributions\n(if I've forgotten or misspelled your name, please email me!):\n\nMorris M. Siegel, for his $/ patch and the new \"getlines()\".\n\nDoug Wilson, for the IO::Handle inheritance and automatic tie-ing.\n\nperl v5.28.1                      2019-02-28                    IO::Lines(3pm)",
            "subsections": []
        }
    },
    "summary": "IO::Lines - IO:: interface for reading/writing an array of lines",
    "flags": [],
    "examples": [],
    "see_also": []
}