FreeBSD.software
Home/devel/p5-IO-Stringy

p5-IO-Stringy

2.113

Use IO handles with non-file objects

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.

Origin: devel/p5-IO-Stringy
Category: devel
Size: 131KiB
License: ART10, GPLv1+
Maintainer: sunpoet@FreeBSD.org
Dependencies: 1 packages
Required by: 44 packages
$pkg install p5-IO-Stringy

Dependencies (1)

Required By (44 packages)

More in devel