The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::NKC2MARC - Base class for nkc-to-marc script.

SYNOPSIS

use App::NKC2MARC;

my $app = App::NKC2MARC->new;
my $exit_code = $app->run;

METHODS

new

my $app = App::NKC2MARC->new;

Constructor.

Returns instance of object.

run

my $exit_code = $app->run;

Run.

Returns 1 for error, 0 for success.

EXAMPLE

use strict;
use warnings;

use App::NKC2MARC;

# Arguments.
@ARGV = (
        '978-80-7370-353-0',
);

# Run.
exit App::NKC2MARC->new->run;

# Output:
# MARC record for '978-80-7370-353-0' was saved to 'cnb002751696.mrc'.

DEPENDENCIES

Encode, English, Error::Pure, Getopt::Std, IO::Barf, List::Util, MARC::File::XML, MARC::Record, Readonly, ZOOM.

REPOSITORY

https://github.com/michal-josef-spacek/App-NKC2MARC

AUTHOR

Michal Josef Špaček mailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

© 2024 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.02