X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=misc%2FbatchImportMARCWithBiblionumbers.pl;h=484f5171e53ac3485df402cb7973665b961553dd;hb=32068a8b153f242f723ad837601296f68cb07edb;hp=f8a12b5c5cfcdeac378a2d0a88fc164411bc8fb5;hpb=96cc447045f3f1d3702a3c69b36f596d88f38eda;p=koha-ffzg.git diff --git a/misc/batchImportMARCWithBiblionumbers.pl b/misc/batchImportMARCWithBiblionumbers.pl index f8a12b5c5c..484f5171e5 100755 --- a/misc/batchImportMARCWithBiblionumbers.pl +++ b/misc/batchImportMARCWithBiblionumbers.pl @@ -3,24 +3,17 @@ # Written by TG on 10/04/2006 use strict; #use warnings; FIXME - Bug 2505 -BEGIN { - # find Koha's Perl modules - # test carefully before changing this - use FindBin; - eval { require "$FindBin::Bin/kohalib.pl" }; -} # Koha modules used use Koha::Script; use C4::Context; -use C4::Biblio; -use MARC::Record; +use C4::Biblio qw( GetMarcFromKohaField ); use MARC::File::USMARC; use MARC::File::XML; use MARC::Batch; -use Time::HiRes qw(gettimeofday); -use Getopt::Long; +use Time::HiRes qw( gettimeofday ); +use Getopt::Long qw( GetOptions ); use IO::File; my $input_marc_file = '';