Path: usenet.cise.ufl.edu!huron.eel.ufl.edu!usenet.eel.ufl.edu!news.ultranet.com!homer.alpha.net!uwm.edu!chicago-news-feed2.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.wli.net!nntp.teleport.com!news.teleport.com!not-for-mail
From: Eryq <
[email protected]>
Newsgroups: comp.lang.perl.announce,comp.lang.perl.modules
Subject: Announce: IO-stringy 1.110 uploaded to CPAN
Followup-To: comp.lang.perl.modules
Date: 31 Mar 1998 23:31:20 GMT
Organization: Zero G, Inc.
Lines: 43
Sender:
[email protected]
Approved:
[email protected] (comp.lang.perl.announce)
Message-ID: <
[email protected]>
NNTP-Posting-Host: gadget.cscaper.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cise.ufl.edu comp.lang.perl.announce:34 comp.lang.perl.modules:713
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 (
[email protected])
/ _ \| '_| | | |/ _ ' / President, Zero G Inc:
http://www.zeegee.com/
| __/| | | |_| | |_| |
\___||_| \__, |\__, |___/\ Visit STREETWISE, Chicago's newspaper by/
|___/ |______/ of the homeless:
http://www.streetwise.org