home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
zkuste
/
Perl
/
ActivePerl-5.6.0.613.msi
/
䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥
/
_6b0dd13b86cf214665bd3626f1be9f99
< prev
next >
Wrap
Text File
|
2000-03-23
|
5KB
|
127 lines
<HTML>
<HEAD>
<TITLE>IO-stringy - I/O on in-core objects like strings and arrays</TITLE>
<LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
<LINK REV="made" HREF="mailto:">
</HEAD>
<BODY>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> IO-stringy - I/O on in-core objects like strings and arrays</P></STRONG>
</TD></TR>
</TABLE>
<A NAME="__index__"></A>
<!-- INDEX BEGIN -->
<UL>
<LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
<LI><A HREF="#description">DESCRIPTION</A></LI>
<LI><A HREF="#installation">INSTALLATION</A></LI>
<LI><A HREF="#change log">CHANGE LOG</A></LI>
<LI><A HREF="#version">VERSION</A></LI>
<LI><A HREF="#author">AUTHOR</A></LI>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="name">NAME</A></H1>
<P>IO-stringy - I/O on in-core objects like strings and arrays</P>
<P>
<HR>
<H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
<UL>
<LI>Linux</LI>
<LI>Solaris</LI>
<LI>Windows</LI>
</UL>
<HR>
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
<PRE>
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</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>This toolkit primarily provides modules for performing both traditional
and object-oriented i/o) on things <EM>other</EM> than normal filehandles;
in particular, <A HREF="../../../site/lib/IO/Scalar.html">the IO::Scalar manpage</A>, <A HREF="../../../site/lib/IO/ScalarArray.html">the IO::ScalarArray manpage</A>, and <A HREF="../../../site/lib/IO/Lines.html">the IO::Lines manpage</A>.</P>
<P>If you have access to tie(), these classes will make use of the
<A HREF="../../../site/lib/IO/WrapTie.html">the IO::WrapTie manpage</A> module to inherit a convenient <CODE>new_tie()</CODE> constructor.
It also exports a nice <CODE>wraptie()</CODE> function.</P>
<P>In the more-traditional IO::Handle front, we have <A HREF="../../../site/lib/IO/AtomicFile.html">the IO::AtomicFile manpage</A>
which may be used to painlessly create files which are updated
atomically.</P>
<P>And in the ``this-may-prove-useful'' corner, we have <A HREF="../../../site/lib/IO/Wrap.html">the IO::Wrap manpage</A>, whose
exported <CODE>wraphandle()</CODE> 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.</P>
<P>
<HR>
<H1><A NAME="installation">INSTALLATION</A></H1>
<P>You know the drill...</P>
<PRE>
perl Makefile.PL
make test
make install</PRE>
<P>
<HR>
<H1><A NAME="change log">CHANGE LOG</A></H1>
<DL>
<DT><STRONG><A NAME="item_Version_1%2E206">Version 1.206</A></STRONG><BR>
<DD>
Added creation of ./testout when Makefile.PL is run.
<P></P>
<DT><STRONG><A NAME="item_Version_1%2E205">Version 1.205</A></STRONG><BR>
<DD>
Verified for Perl5.005.
<P></P>
<DT><STRONG><A NAME="item_Version_1%2E202">Version 1.202</A></STRONG><BR>
<DD>
New IO::WrapTie and IO::AtomicFile added.
<P></P>
<DT><STRONG><A NAME="item_Version_1%2E110">Version 1.110</A></STRONG><BR>
<DD>
Added IO::WrapTie.
<P></P>
<DT><STRONG><A NAME="item_Version_1%2E107">Version 1.107</A></STRONG><BR>
<DD>
Added IO::Lines, and made some bug fixes to IO::ScalarArray.
Also, added getc().
<P></P>
<DT><STRONG><A NAME="item_Version_1%2E105">Version 1.105</A></STRONG><BR>
<DD>
No real changes; just upgraded IO::Wrap to have a $VERSION string.
<P></P></DL>
<P>
<HR>
<H1><A NAME="version">VERSION</A></H1>
<P>$Id: Stringy.pm,v 1.207 1999/04/18 04:14:04 eryq Exp $</P>
<P>
<HR>
<H1><A NAME="author">AUTHOR</A></H1>
<P>Eryq (<EM><A HREF="mailto:eryq@zeegee.com">eryq@zeegee.com</A></EM>).
President, ZeeGee Software Inc (<EM><A HREF="http://www.zeegee.com">http://www.zeegee.com</A></EM>).</P>
<P>Enjoy. Yell if it breaks.</P>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> IO-stringy - I/O on in-core objects like strings and arrays</P></STRONG>
</TD></TR>
</TABLE>
</BODY>
</HTML>