From: Galen Charlton Date: Tue, 13 Apr 2010 19:22:01 +0000 (+0000) Subject: revert previous commit (swept too much in) X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=25d73006e57d662496134b270740cf3ee4e7a2d8 revert previous commit (swept too much in) --- diff --git a/fingerprinter b/fingerprinter index dcf2e29..93df981 100755 --- a/fingerprinter +++ b/fingerprinter @@ -27,15 +27,7 @@ for my $file (@ARGV) { $batch->strict_off(); $batch->warnings_off(); - my $record; - while ( 1 ) { - eval { $record = $batch->next; }; - if ($@) { - import MARC::File::XML; - print "bad record\n"; - next; - } - last unless $record; + while ( $record = $batch->next ) { $count++; progress_ticker(); my $marc = undef; unless ( defined $record ) diff --git a/marc_cleanup b/marc_cleanup index 53801f3..89f8ab0 100755 --- a/marc_cleanup +++ b/marc_cleanup @@ -92,12 +92,12 @@ while ( buildrecord() ) { } # subfields can't be non-alphanumeric - #if ($record[$ptr] =~ /