#use base qw/WebPAC::Common/;
use Data::Dump qw/dump/;
-use Encode qw/from_to/;
use Storable qw/dclone/;
# debugging warn(s)
=head1 VERSION
-Version 0.17
+Version 0.18
=cut
-our $VERSION = '0.17';
+our $VERSION = '0.18';
=head1 SYNOPSIS
foreach (@_) {
my $v = $_; # make var read-write for Encode
next unless (defined($v) && $v !~ /^\s*$/);
- from_to($v, 'iso-8859-2', $marc_encoding) if ($marc_encoding);
my ($i1,$i2) = defined($marc_indicators->{$f}) ? @{ $marc_indicators->{$f} } : (' ',' ');
if (defined $sf) {
push @{ $marc_record->[ $marc_record_offset ] }, [ $f, $i1, $i2, $sf => $v ];
my $v = shift;
next unless (defined($v) && $v !~ /^\s*$/);
- from_to($v, 'iso-8859-2', $marc_encoding) if ($marc_encoding);
warn "## ++ marc_compose($f,$sf,$v) ", dump( $m ),$/ if ($debug > 1);
if ($sf ne '+') {
push @$m, ( $sf, $v );