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.  "tiehandle" capable 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

AUTHOR

34       Eryq (eryq@zeegee.com).  President, ZeeGee Software Inc
35       (http://www.zeegee.com).
36

CONTRIBUTORS

38       Dianne Skoll (dfs@roaringpenguin.com).
39
41       Copyright (c) 1997 Erik (Eryq) Dorfman, ZeeGee Software, Inc. All
42       rights reserved.
43
44       This program is free software; you can redistribute it and/or modify it
45       under the same terms as Perl itself.
46
47
48
49perl v5.32.0                      2020-07-28                      IO::Lines(3)
Impressum