NAME
App::Kramerius::To::Images - Base class for kramerius2images script.
SYNOPSIS
use App::Kramerius::To::Images;
my $app = App::Kramerius::To::Images->new;
my $exit_code = $app->run;
METHODS
new
my $app = App::Kramerius::To::Images->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::Kramerius::To::Images;
# Arguments.
@ARGV = (
'-h',
);
# Run.
exit App::Kramerius::To::Images->new->run;
# Output like:
# Usage: ./ex1.pl [-h] [-q] [-v] [--version] [kramerius_id object_id]
# -h Help.
# -q Quiet mode.
# -v Verbose mode.
# --version Print version.
# kramerius_id Kramerius system id. e.g. mzk
# object_id Kramerius object id (could be page, series or book edition).
DEPENDENCIES
App::Kramerius::V4, Class::Utils, Data::Kramerius, English, Error::Pure, Getopt::Std, HTTP::Request, IO::Barf, JSON::XS, LWP::UserAgent, METS::Files, Perl6::Slurp.
REPOSITORY
https://github.com/michal-josef-spacek/App-Kramerius-To-Images
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2021 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.01