IO::Stringy(3pm)

IO::Stringy3pm

I/o on in-core objects like strings and arrays

Usage

    use strict;
    use warnings;
    use IO::AtomicFile; # Write a file which is updated atomically
    use IO::InnerFile; # define a file inside another file
    use IO::Lines; # I/O handle to read/write to array of lines
    use IO::Scalar; # I/O handle to read/write to a string
    use IO::ScalarArray; # I/O handle to read/write to array of scalars
    use IO::Wrap; # Wrap old-style FHs in standard OO interface
    use IO::WrapTie; # Tie your handles & retain full OO interface
    # ...

Overview

This toolkit primarily provides modules for performing both traditional and object-oriented i/o) on things other than normal filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines.

In the more-traditional IO::Handle front, we have IO::AtomicFile which may be used to painlessly create files which are updated atomically.

And in the "this-may-prove-useful" corner, we have IO::Wrap, whose exported wraphandle() function will clothe anything that's not a blessed object in an IO::Handle-like wrapper... so you can just use OO syntax and stop worrying about whether your function's caller handed you a string, a globref, or a FileHandle.

Contributors

Dianne Skoll ([email protected]).

Releases

15 releases since Debian 2.1 (Slink); the text changed 10 times.

  1. 2.1
  2. 2.2
  3. 3.0
  4. 3.1
  5. 4.0
  6. 5.0–6.0
  7. 7–8
  8. 9
  9. 10–12
  10. 13
  11. Arch

Author

Eryq ([email protected]). President, ZeeGee Software Inc (http://www.zeegee.com).

From perl-io-stringy 2.113-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.