}
#warn dump($json->[0]);
+open(my $marc_fh, '>', 'radovi.marc');
+
my $stat;
foreach my $rad ( @$json ) {
$rad->{prezmentor2} ? [ '700', '1', '#', a => $rad->{prezmentor2} . ', ' . $rad->{imementor2}, 4 => 'ths' ] : ''
);
+ print $marc_fh $marc->as_usmarc;
+
print $marc->as_formatted, "\n\n"; # FIXME
# last if $stat->{radova} == 10; # FIXME