1IO::Stringy(3) User Contributed Perl Documentation IO::Stringy(3)
2
3
4
6 IO-stringy - I/O on in-core objects like strings and arrays
7
9 use strict;
10 use warnings;
11
12 use IO::AtomicFile; # Write a file which is updated atomically
13 use IO::InnerFile; # define a file inside another file
14 use IO::Lines; # I/O handle to read/write to array of lines
15 use IO::Scalar; # I/O handle to read/write to a string
16 use IO::ScalarArray; # I/O handle to read/write to array of scalars
17 use IO::Wrap; # Wrap old-style FHs in standard OO interface
18 use IO::WrapTie; # Tie your handles & retain full OO interface
19
20 # ...
21
23 This toolkit primarily provides modules for performing both traditional
24 and object-oriented i/o) on things other than normal filehandles; in
25 particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
26
27 In the more-traditional IO::Handle front, we have IO::AtomicFile which
28 may be used to painlessly create files which are updated atomically.
29
30 And in the "this-may-prove-useful" corner, we have IO::Wrap, whose
31 exported wraphandle() function will clothe anything that's not a
32 blessed object in an IO::Handle-like wrapper... so you can just use OO
33 syntax and stop worrying about whether your function's caller handed
34 you a string, a globref, or a FileHandle.
35
37 Eryq (eryq@zeegee.com). President, ZeeGee Software Inc
38 (http://www.zeegee.com).
39
41 Dianne Skoll (dfs@roaringpenguin.com).
42
44 Copyright (c) 1997 Erik (Eryq) Dorfman, ZeeGee Software, Inc. All
45 rights reserved.
46
47 This program is free software; you can redistribute it and/or modify it
48 under the same terms as Perl itself.
49
50
51
52perl v5.32.0 2020-07-28 IO::Stringy(3)