Docs::Site_SVD::Tie_Layers - read and write files pipelined through a stack of subroutine layers
Software Version Description for Docs::Site_SVD::Tie_Layers - read and write files pipelined through a stack of subroutine layers Revision: E Version: 0.06 Date: 2004/05/28 Prepared for: General Public Prepared by: SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt> Copyright: copyright 2004 Software Diamonds Classification: NONE
This paragraph identifies and provides an overview of the released files.
This release, identified in 3.2, is a collection of Perl modules that extend the capabilities of the Perl language.
The Tie::Layers program module contains the tie file handle Tie::Layers package. The Tie::Layers package provides the ability to insert a stack of subroutines between file subroutines print and realine and the underlying $file. The syntax of the subroutines of each layer of the readline stack and the print stack must comply to the the requirements described herein below. This is necessary so that the Tie::Layers READLINE and PRINT subroutines know how to transfer the output from one layer to the input of another layer. The stacks are setup by supplying options with a reference to the subroutine for each layer in the print stack and the readline stack. The Tie::Layers are line orientated and do not support any character file subrouintes. The getc, read, and write file subroutines are supported by the Tie::Layers package. The seek routines are line oriented in that the seek and tell subroutine positions are the line in the underlying file and not the character position in the file.
Tie::Layers
print
realine
$file
READLINE
PRINT
getc
read
write
seek
tell
This document releases Tie::Layers version 0.06 providing a description of the inventory, installation instructions and other information necessary to utilize and track this release.
All file specifications in this SVD use the Unix operating system file specification.
This document releases the file
Tie-Layers-0.06.tar.gz
found at the following repository(s):
http://www.softwarediamonds/packages/ http://www.perl.com/CPAN/authors/id/S/SO/SOFTDIA/
Restrictions regarding duplication and license provisions are as follows:
copyright 2004 Software Diamonds
603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>
Software Diamonds permits the redistribution and use in source and binary forms, with or without modification, provided that the following conditions are met:
Redistributions of source code, modified or unmodified must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Commercial installation of the binary or source must visually present to the installer the above copyright notice, this list of conditions intact, that the original source is available at http://softwarediamonds.com and provide means for the installer to actively accept the list of conditions; otherwise, a license fee must be paid to Softwareware Diamonds.
SOFTWARE DIAMONDS, http://www.SoftwareDiamonds.com, PROVIDES THIS SOFTWARE 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF ADVISED OF NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE POSSIBILITY OF SUCH DAMAGE.
The content of the released, compressed, archieve file, consists of the following files:
file version date comment ------------------------------------------------------------ ------- ---------- ------------------------ lib/Docs/Site_SVD/Tie_Layers.pm 0.06 2004/05/28 revised 0.05 MANIFEST 0.06 2004/05/28 generated, replaces 0.05 Makefile.PL 0.06 2004/05/28 generated, replaces 0.05 README 0.06 2004/05/28 generated, replaces 0.05 lib/Tie/Layers.pm 0.06 2004/05/28 revised 0.05 t/Tie/Layers.pm 0.03 2004/05/28 revised 0.02 t/Tie/Layers.t 0.03 2004/05/28 revised 0.02 t/Tie/Layers.d 0.03 2004/05/28 revised 0.02 t/Tie/File/Package.pm 1.18 2004/05/28 unchanged t/Tie/Test/Tech.pm 1.27 2004/05/28 revised 1.26 t/Tie/Data/Secs2.pm 1.26 2004/05/28 unchanged t/Tie/Data/Str2Num.pm 0.08 2004/05/28 unchanged t/Tie/Data/Startup.pm 0.08 2004/05/28 new
Changes are as follows
Originated
Sometimes get a DESTROY when coming out of TIEHANDLE. Do not want TIEHANDLE going around closing stuff, especially for an OPEN with a file handle like DATA. If something needs closing, call CLOSE directly.
DESTROY
TIEHANDLE
OPEN
DATA
Added Data::Startup as perquisite.
Data::Startup
Perquisite did not make it into 0.03. Try again.
Test Failure:
From: mhoyt@houston.rr.com Subject: FAIL Tie-Layers-0.04 darwin-thread-multi-2level 7.0 t/Tie/Layers.t t/Tie/Layers....Math::BigFloat version 1.4 required--this is only version 1.39
Annalysis:
This is because using Data::Secs2 to stringify test results for comparision. The Data::Secs2 includes Data::SecsPack which includes Math::BigFloat. There Makerfile.PL prerequisite is only for the Unit Under Test (UUT) software, not the test software.
Data::Secs2
Data::SecsPack
Math::BigFloat
Makerfile.PL
Corrective Action:
Since Data::SecsPack is not needed for Data::Secs2 stringify, rewrote Data::Secs2 to include Data::SecsPack only if needed. Thus, the test software will not longer be requiring Math::BigFloat.
Also drop the Data::SecsPack version for Math::BigFloat down from 1.40 to 1.39.
Add the config subroutine. Redesigned the internal data structures. Set aside a unique hash member for Tie::Layers class options in the hash data used by both the Tie::Layers class and any class that inherits the Tie::Layers class.
config
This installation requires that the installation site has the Perl programming language installed. There are no other additional requirements or tailoring needed of configurations files, adaptation data or other software needed for this installation particular to any installation site.
There are no related documents needed for the installation and test of this release.
Instructions for installation, installation tests and installation support are as follows:
To installed the release file, use the CPAN module pr PPM module in the Perl release or the INSTALL.PL script at the following web site:
http://packages.SoftwareDiamonds.com
Follow the instructions for the the chosen installation software.
If all else fails, the file may be manually installed. Enter one of the following repositories in a web browser:
Right click on 'Tie-Layers-0.06.tar.gz' and download to a temporary installation directory. Enter the following where $make is 'nmake' for microsoft windows; otherwise 'make'.
gunzip Tie-Layers-0.06.tar.gz tar -xf Tie-Layers-0.06.tar perl Makefile.PL $make test $make install
On Microsoft operating system, nmake, tar, and gunzip must be in the exeuction path. If tar and gunzip are not install, download and install unxutils from
http://packages.softwarediamonds.com
'Data::Startup' => '0.08',
None.
Most Perl installation software will run the following test script(s) as part of the installation:
t/Tie/Layers.t
If there are installation problems or questions with the installation contact
There are no known open issues.
The following are useful acronyms:
extension for a Perl demo script file
extension for a Perl Library Module
extension for a Perl test script file
To install Tie::Layers, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tie::Layers
CPAN shell
perl -MCPAN -e shell install Tie::Layers
For more information on module installation, please visit the detailed CPAN module installation guide.