From: Eryq <eryq@zeegee.com>
Subject: Announce: IO-stringy 1.110 uploaded to CPAN
Date: 31 Mar 1998 23:31:20 GMT
The latest version of IO-stringy has been uploaded to the
CPAN. It provides the following Perl modules... (* = new!)
IO::
* ::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 IO::-like interface ERYQ
* ::WrapTie adpO Tie your handles & retain full OO interface ERYQ
The most interesting development has been IO::WrapTie, which can be
used with IO::Scalar, IO::ScalarArray, and the (new) IO::Lines.
It allows tiehandle-ready classes to provide instances which
look and feel almost exactly like real IO::Handles, even if such
classes don't use file descriptors at all. That is, you can (under
5.004+) inherit your FooHandle class from IO::WrapTie::Mixin and say...
my $foo = FooHandle->new_tie("bar", "baz");
print $foo "this", "that";
$foo->print("the other\n");
I would *very* much welcome comments on IO::WrapTie; future distributions
may have it seamlessly used by IO::Scalar and friends.
Numerous other suggested improvements/additions have been made.
Full distribution also on-line at:
http://www.zeegee.com/code/perl/IO-stringy
Documentation online, at:
http://www.zeegee.com/code/perl/IO-stringy/docs/IO/Scalar.pm.html
Enjoy!
--
___ _ _ _ _ ___ _ Eryq (eryq@zeegee.com)
/ _ \| '_| | | |/ _ ' / President, Zero G Inc: http://www.zeegee.com/
| __/| | | |_| | |_| |
\___||_| \__, |\__, |___/\ Visit STREETWISE, Chicago's newspaper by/
|___/ |______/ of the homeless: http://www.streetwise.org