projects
/
Biblio-Z3950.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5102fa
)
cleanup var scoping
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 23 Apr 2012 11:49:24 +0000
(13:49 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 23 Apr 2012 11:49:24 +0000
(13:49 +0200)
GoogleBooks.pm
patch
|
blob
|
history
diff --git
a/GoogleBooks.pm
b/GoogleBooks.pm
index
8bcf0ed
..
2bf9c1a
100644
(file)
--- a/
GoogleBooks.pm
+++ b/
GoogleBooks.pm
@@
-89,8
+89,6
@@
diag "got $hits results, get first one";
}
-our ( $hash, $marc );
-
sub next_marc {
my ($self,$format) = @_;
@@
-102,7
+100,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} ) {