fetch MARC records directly from Koha database
[webpac2] / scripts / webpac-storable-dump.pl
index 299748b..38123d4 100755 (executable)
@@ -6,7 +6,7 @@ use strict;
 use Storable qw/retrieve/;
 use Data::Dump qw/dump/;
 
-my $path = shift @ARGV || die "usage: $0 /path/to/lookup\n";
+my $path = shift @ARGV || die "usage: $0 /path/to/lookup\n" unless @ARGV;
 
-print dump( retrieve( $path ));
+print "# $_: ",dump( retrieve( $_ )),$/ foreach @ARGV;