From 782fd5a9d761b36847beeb7ab5f32e8a70433505 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 9 Jan 2014 13:27:26 +0100 Subject: [PATCH] fix warning for number of records --- lib/WebPAC/Input.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebPAC/Input.pm b/lib/WebPAC/Input.pm index dc33db8..34e59c4 100644 --- a/lib/WebPAC/Input.pm +++ b/lib/WebPAC/Input.pm @@ -276,7 +276,7 @@ sub open { my $strict_encoding = $arg->{strict_encoding} || $self->{strict_encoding}; ## FIXME should be 1 really - $log->info("processing $self->{size}/$size records [$from_rec-$to_rec]", + $log->info("processing ", $self->{size} || 'all', "/$size records [$from_rec-$to_rec]", " encoding $input_encoding ", $strict_encoding ? ' [strict]' : '', $self->{stats} ? ' [stats]' : '', ); -- 2.20.1