Bryan Baldus > MARC-Errorchecks-1.16 > bin/lintallchecks.pl

Download:
MARC-Errorchecks-1.16.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: MARC-Errorchecks-1.18

NAME

Lintallchecks -- Uses MARC::Lint, MARC::Lintadditions, and MARC::Errorchecks to look for MARC21, AACR2/LCRI coding problems in a file of MARC21 records.

DESCRIPTION

Lint test program prompts for input file of MARC records. Compares the records against coding definitions in Lint module. Also checks against added checks in MARC::Lintadditions. Also checks for errors in multiple fields (vs. individual fields covered by Lint/Lintadditions. Writes out one file: lintwarnings.txt (reported warnings and associated control numbers and titles, tab separation) Differs from linttest.pl (lintcheck.txt) by not outputting raw MARC. Differs from lintcheck2.pl by outputting only one file (vs. separate warnings and control no files), and in checking additional conditions given in Lintadditions.pm. Differs from lintwithadditions.pl in that it incorporates checks which cross multiple fields (such as validation of 008, which requires access to the leader). This code is based on Example V3 of the MARC::Doc::Tutorial, and incorporates code from the following (available on my Web site):

003cleanupscript.pl 008checker.pl 010cleanup.pl checkcipforstockno.pl findmultiplespacesafter010.pl

It uses the MARC::Errorchecks module for checking code not covered in MARC::Lint or MARC::Lintadditions.

REQUIREMENTS

MARC::Record MARC::Lintadditions MARC::Errorchecks MARC::BBMARC (for interface--timing code)

TO DO

Improve interface, particularly file name input.

For users of this script: Modify section on which errors not to report.

LICENSE ^

This code may be distributed under the same terms as Perl itself.

Please note that this code is not a product of or supported by the employers of the various contributors to the code.

AUTHOR ^

Bryan Baldus eijabb@cpan.org

Copyright (c) 2003-2004

syntax highlighting: