1IO::Lines(3)          User Contributed Perl Documentation         IO::Lines(3)
2
3
4

NAME

6       IO::Lines - IO:: interface for reading/writing an array of lines
7

SYNOPSIS

9           use IO::Lines;
10
11           ### See IO::ScalarArray for details
12

DESCRIPTION

14       This class implements objects which behave just like FileHandle (or
15       IO::Handle) objects, except that you may use them to write to (or read
16       from) an array of lines.  They can be tiehandle'd as well.
17
18       This is a subclass of IO::ScalarArray in which the underlying array has
19       its data stored in a line-oriented-format: that is, every element ends
20       in a "\n", with the possible exception of the final element.  This
21       makes "getline()" much more efficient; if you plan to do line-oriented
22       reading/printing, you want this class.
23
24       The "print()" method will enforce this rule, so you can print arbitrary
25       data to the line-array: it will break the data at newlines
26       appropriately.
27
28       See IO::ScalarArray for full usage and warnings.
29

VERSION

31       $Id: Lines.pm,v 1.3 2005/02/10 21:21:53 dfs Exp $
32

AUTHORS

34   Primary Maintainer
35       Dianne Skoll (dfs@roaringpenguin.com).
36
37   Principal author
38       Eryq (eryq@zeegee.com).  President, ZeeGee Software Inc
39       (http://www.zeegee.com).
40
41   Other contributors
42       Thanks to the following individuals for their invaluable contributions
43       (if I've forgotten or misspelled your name, please email me!):
44
45       Morris M. Siegel, for his $/ patch and the new "getlines()".
46
47       Doug Wilson, for the IO::Handle inheritance and automatic tie-ing.
48
49
50
51perl v5.30.0                      2019-07-26                      IO::Lines(3)
Impressum