From 547523838f0099913b8c0a42638eb59471a17fc8 Mon Sep 17 00:00:00 2001 From: Shawn Boyette Date: Mon, 25 Aug 2008 16:16:24 +0000 Subject: [PATCH] removing unused modules --- fingerprinter | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/fingerprinter b/fingerprinter index 7c4d1b2..06af0ff 100755 --- a/fingerprinter +++ b/fingerprinter @@ -5,8 +5,6 @@ use open ':utf8'; use Getopt::Long; use MARC::Batch; -use MARC::File::XML ( BinaryEncoding => 'utf-8' ); -use MARC::Field; use Unicode::Normalize; my $conf = {}; # configuration hashref @@ -300,9 +298,8 @@ sub initialize { my @keys = keys %{$c}; show_help() unless (@ARGV and @keys); - for my $key ('runtype', 'tag', 'subfield', 'output', 'exception') { - push @missing, $key unless $c->{$key} - } + for my $key ('runtype', 'tag', 'subfield', 'output', 'exception') + { push @missing, $key unless $c->{$key} } if (@missing) { print "Required option: ", join(', ', @missing), " missing!\n"; show_help(); -- 1.7.2.5