remove some useless warnings; add the system id to 901$c
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 21 Apr 2007 02:04:38 +0000 (02:04 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 21 Apr 2007 02:04:38 +0000 (02:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7156 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/support-scripts/marc_export

index 22cb3c8..5d19212 100755 (executable)
@@ -152,7 +152,8 @@ while ( my $i = <> ) {
                        MARC::Field->new(
                                901, '', '', 
                                a => $bib->tcn_value,
-                               b => $bib->tcn_source
+                               b => $bib->tcn_source,
+                               c => $bib->id
                        )
                );
 
@@ -233,6 +234,8 @@ DONE
 
 sub stats {
     try {
+       no warnings;
+
        $speed = $count{did} / (time - $start);
 
        my $speed_now = ($count{did} - $count{did_last}) / (time - $count{time_last});