IO-stringy 2.110 review

Download
by rbytes.net on

IO-stringy is a I/O on in-core objects like strings and arrays. SYNOPSIS IO:: ::AtomicFile adpO Write a file which

License: Perl Artistic License
File size: 39K
Developer: David F. Skoll
0 stars award from rbytes.net

IO-stringy is a I/O on in-core objects like strings and arrays.

SYNOPSIS

IO::
::AtomicFile adpO Write a file which is updated atomically ERYQ
::Lines bdpO I/O handle to read/write to array of lines ERYQ
::Scalar RdpO I/O handle to read/write to a string ERYQ
::ScalarArray RdpO I/O handle to read/write to array of scalars ERYQ
::Wrap RdpO Wrap old-style FHs in standard OO interface ERYQ
::WrapTie adpO Tie your handles & retain full OO interface ERYQ

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.

Requirements:
Perl

IO-stringy 2.110 search tags