projects
/
Biblio-Z3950.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix indent
[Biblio-Z3950.git]
/
GoogleBooks.pm
diff --git
a/GoogleBooks.pm
b/GoogleBooks.pm
index
436f575
..
139ff94
100644
(file)
--- a/
GoogleBooks.pm
+++ b/
GoogleBooks.pm
@@
-92,8
+92,6
@@
diag "got $hits results, get first one";
}
-our ( $hash, $marc );
-
sub next_marc {
my ($self,$format) = @_;
@@
-105,7
+103,7
@@
sub next_marc {
my $id = $item->{id} || die "no id";
- $marc = MARC::Record->new;
+
my
$marc = MARC::Record->new;
$marc->encoding('utf-8');
if ( my $vi = $item->{volumeInfo} ) {