my ( $sf, $nr ) = @$sf;
my $v = $fill_in->{$sf}->[$nr] || die "can't find fill_in $sf/$nr";
warn "++ $sf/$nr |$v|\n";
- push @$m, [ $sf, $v ];
+ push @$m, ( $sf, $v );
}
warn "#### >>>> created marc: ", dump( $m );
}
warn "### marc_template produced: ",dump( @marc_out );
- return @marc_out;
+
+ foreach my $marc ( @marc_out ) {
+ warn "+++ ",dump( $marc );
+ push @{ $marc_record->[ $marc_record_offset ] }, $marc;
+ }
}
=head2 marc_count