MARC::Errorchecks 1.12
Sponsored Links
MARC::Errorchecks 1.12 Ranking & Summary
File size:
0.072 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
965
Date added:
2007-03-09
Publisher:
Bryan Baldus
MARC::Errorchecks 1.12 description
MARC::Errorchecks is a Perl module with a collection of MARC 21/AACR2 error checks.
Module for storing MARC error checking subroutines, based on MARC 21, AACR2, and LCRIs. These are used to find errors not easily checked by the MARC::Lint and MARC::Lintadditions modules, such as those that cross field boundaries.
Each subroutine should generally be passed a MARC::Record object.
Returned warnings/errors are generated as follows: push @warningstoreturn, join , ($field->tag(), ": [ERROR TEXT]t"); return @warningstoreturn;
SYNOPSIS
use MARC::Batch;
use MARC::Errorchecks;
#See also MARC::Lintadditions for more checks
#use MARC::Lintadditions;
#change file names as desired
my $inputfile = marcfile.mrc;
my $errorfilename = errors.txt;
my $errorcount = 0;
open (OUT, ">$errorfilename");
#initialize $infile as new MARC::Batch object
my $batch = MARC::Batch->new(USMARC, "$inputfile");
my $errorcount = 0;
#loop through batch file of records
while (my $record = $batch->next()) {
#if $record->field(001) #add this if some records in file do not contain an 001 field
my $controlno = $record->field(001)->as_string(); #call MARC::Errorchecks subroutines
my @errorstoreturn = ();
# check everything
push @errorstoreturn, (@{MARC::Errorchecks::check_all_subs($record)});
# or only a few
push @errorstoreturn, (@{MARC::Errorchecks::check_010($record)});
push @errorstoreturn, (@{MARC::Errorchecks::check_bk008_vs_bibrefandindex($record)});
# report results
if (@errorstoreturn){
#########################################
print OUT join( "t", "$controlno", @errorstoreturn, "tn");
$errorcount++;
}
} #while
Module for storing MARC error checking subroutines, based on MARC 21, AACR2, and LCRIs. These are used to find errors not easily checked by the MARC::Lint and MARC::Lintadditions modules, such as those that cross field boundaries.
Each subroutine should generally be passed a MARC::Record object.
Returned warnings/errors are generated as follows: push @warningstoreturn, join , ($field->tag(), ": [ERROR TEXT]t"); return @warningstoreturn;
SYNOPSIS
use MARC::Batch;
use MARC::Errorchecks;
#See also MARC::Lintadditions for more checks
#use MARC::Lintadditions;
#change file names as desired
my $inputfile = marcfile.mrc;
my $errorfilename = errors.txt;
my $errorcount = 0;
open (OUT, ">$errorfilename");
#initialize $infile as new MARC::Batch object
my $batch = MARC::Batch->new(USMARC, "$inputfile");
my $errorcount = 0;
#loop through batch file of records
while (my $record = $batch->next()) {
#if $record->field(001) #add this if some records in file do not contain an 001 field
my $controlno = $record->field(001)->as_string(); #call MARC::Errorchecks subroutines
my @errorstoreturn = ();
# check everything
push @errorstoreturn, (@{MARC::Errorchecks::check_all_subs($record)});
# or only a few
push @errorstoreturn, (@{MARC::Errorchecks::check_010($record)});
push @errorstoreturn, (@{MARC::Errorchecks::check_bk008_vs_bibrefandindex($record)});
# report results
if (@errorstoreturn){
#########################################
print OUT join( "t", "$controlno", @errorstoreturn, "tn");
$errorcount++;
}
} #while
MARC::Errorchecks 1.12 Screenshot
MARC::Errorchecks 1.12 Keywords
MARC
MARC 21
AACR2
Errorchecks 1.12
Perl module
error
module
checks
record
Perl
field
MARC::Errorchecks
MARCErrorchecks
MARC::Errorchecks 1.12
Libraries
Programming
Bookmark MARC::Errorchecks 1.12
MARC::Errorchecks 1.12 Copyright
WareSeeker periodically updates pricing and software information of MARC::Errorchecks 1.12 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of MARC::Errorchecks 1.12 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Mac::Errors is a Perl module with constants for Mac error codes. Free Download
Test::STDmaker::Check is a Perl module that checks a software test description short hand. Free Download
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. Free Download
Archive::Zip is a Perl module which provides an interface to ZIP archive files. Free Download
MARC is a Perl extension to manipulate MAchine Readable Cataloging records. Free Download
MARC::Charset is a Perl module to convert MARC-8 encoded strings to UTF-8. Free Download
PyChecker is a tool for finding common bugs in Python source code. Free Download
PApp::Recode is a Perl module that can convert bytes from one charset to another. Free Download
Latest Software
Popular Software
Favourite Software