use MARC::Fast 0.03;
use base qw/WebPAC::Common/;
+use Carp qw/confess/;
=head1 NAME
=head1 VERSION
-Version 0.08
+Version 0.09
=cut
-our $VERSION = '0.08';
+our $VERSION = '0.09';
=head1 SYNOPSIS
if ($mfn > $self->{_marc_size}) {
$self->_get_logger()->warn("seek beyond database size $self->{_marc_size} to $mfn");
} else {
- my $row = $self->{_marc_db}->to_hash($mfn);
+ my $marc = $self->{_marc_db} || confess "no _marc_db?";
+ my $row = $marc->to_hash($mfn);
push @{$row->{'000'}}, $mfn;
+ push @{$row->{'leader'}}, $marc->last_leader;
return $row;
}
}