|
IO-stringy![]() This toolkit primarily provides modules for performing both traditional and object-oriented i/o) on things other than normal filehandles; in particular, scalars (IO::Scalar) and arrays-of-scalars (IO::ScalarArray, IO::Lines). We also provide 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.
|