Docs::Site_SVD::Text_Scrub - Utilites to wild card parts of a text file for comparisons.
Software Version Description for Docs::Site_SVD::Text_Scrub - Utilites to wild card parts of a text file for comparisons. Revision: G Version: 0.08 Date: 2004/05/25 Prepared for: General Public Prepared by: SoftwareDiamonds.com E<lt>support@SoftwareDiamonds.comE<gt> Copyright: copyright © 2003 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 "Text::Scrub" module extends the Perl language (the system).
When comparing text there are small snippets such as version numbers and dates that should be wild carded out and not influence the comparisions. The Test::STD:Scrub module replaces these small snippets with invariant snippet. By replacing the same part of each file with the same invariant snippet, those small sections of text are effectively wild carded for the comparisions.
When performing tests, the ability to wild card small snippets of text is vital in making accurate comparison. The same capability is also essential for version control in comparing two pieces of software to see if there are significant changes.
This document releases Text::Scrub version 0.08 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
Text-Scrub-0.08.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 © 2003 Software Diamonds
603 882-0846 E<lt> support@SoftwareDiamonds.com E<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/Text_Scrub.pm 0.08 2004/05/25 revised 0.07 MANIFEST 0.08 2004/05/25 generated, replaces 0.07 Makefile.PL 0.08 2004/05/25 generated, replaces 0.07 README 0.08 2004/05/25 generated, replaces 0.07 lib/Text/Scrub.pm 1.17 2004/05/25 revised 1.16 t/Text/Scrub.d 0.03 2004/05/10 unchanged t/Text/Scrub.pm 0.03 2004/05/10 unchanged t/Text/Scrub.t 0.1 2004/05/10 unchanged t/Text/File/Package.pm 1.18 2004/05/25 unchanged t/Text/Test/Tech.pm 1.26 2004/05/25 unchanged t/Text/Data/Secs2.pm 1.26 2004/05/25 unchanged t/Text/File/SmartNL.pm 1.16 2004/05/25 unchanged t/Text/Data/Str2Num.pm 0.08 2004/05/25 unchanged t/Text/Data/Startup.pm 0.07 2004/05/25 unchanged
The changes are as follows:
At 02:44 AM 6/14/2003 +0200, Max Maischein wrote: A second thing that I would like you to reconsider is the naming of "Test::TestUtil" respectively "Test::Tech" - neither of those is descriptive of what the routines actually do or what the module implements. I would recommend renaming them to something closer to your other modules, maybe "Test::SVDMaker::Util" and "Test::SVDMaker::Tech", as some routines do not seem to be specific to the Test::-suite but rather general (format_array_table). Some parts (the "scrub" routines) might even better live in another module namespace, "Test::Util::ScrubData" or something like that.
Broke away the "scrub" routines from Test::TestUtil created this module Test::STD::Scrub.
Added the scrub_data and scrub_probe methods
Use the new modules from the break-up of the "File::FileUtil" module
Moved to a more appropriate library location.
Change the test so that test support program modules resides in distribution directory tlib directory instead of the lib directory. Because they are no longer in the lib directory, test support files will not be installed as a pre-condition for the test of this module. The test of this module will precede immediately. The test support files in the tlib directory will vanish after the installtion.
Recreate distribution file with Archive::TarGzip 0.02 that uses mode 777 for directories instead of 666. Started to get emails from Unix installers about untar not being able to change to a directory with mode of 666.
Changes the 'stringify' module for 'Test-Tech' from 'Data::Strify' to 'Data::Secs2'.
The lastest build of Test::STDmaker expects the test library in the same directory as the test script. Coordiated with the lastest Test::STDmaker by moving the test library from tlib to t/Text, the same directory as the test script and deleting the test library File::TestPath program module.
Added "SEE ALSO" section. Reworked QUALITY ASSURANCE and NOTES sections.
Cleaned up POD. Add scrub_architect to OK_EXPORT.
scrub_architect
OK_EXPORT
Added code to the scrub_file_line subroutine to change double quotes around numbers to single quotes
scrub_file_line
Added code to the scrub_architect subroutine to OS NAME to Site OS.
OS NAME
Site OS
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 'Text-Scrub-0.08.tar.gz' and download to a temporary installation directory. Enter the following where $make is 'nmake' for microsoft windows; otherwise 'make'.
gunzip Text-Scrub-0.08.tar.gz tar -xf Text-Scrub-0.08.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
None.
Most Perl installation software will run the following test script(s) as part of the installation:
t/Text/Scrub.t
If there are installation problems or questions with the installation contact
There is still much work needed to ensure the quality of this module as follows:
State the functional requirements for each method including not only the GO paths but also what to expect for the NOGO paths
The following are useful acronyms:
extension for a Perl Library Module
extension for a Perl test script file
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '©'. Assuming CP1252
To install Text::Scrub, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Scrub
CPAN shell
perl -MCPAN -e shell install Text::Scrub
For more information on module installation, please visit the detailed CPAN module installation guide.