git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@662
07558da8-63fa-0310-ba24-
9fe276d99e06
=head1 VERSION
-Version 0.02
+Version 0.03
=cut
-our $VERSION = '0.02';
+our $VERSION = '0.03';
=head1 SYNOPSIS
if (my $path = $self->{path}) {
open($self->{fh}, '>', $path) ||
$log->logdie("can't open MARC output $path: $!");
+ binmode($self->{fh}, ':utf8');
$log->info("Creating MARC export file $path", $self->{lint} ? ' (with lint)' : '', "\n");
} else {
);
}
- {
- use bytes;
- print {$self->{fh}} $marc->as_usmarc;
- }
+ print {$self->{fh}} $marc->as_usmarc;
}