NAME
App::Kramerius::URI - Base class for kramerius-uri script.
SYNOPSIS
use App::Kramerius::URI;
my $app = App::Kramerius::URI->new;
my $exit_code = $app->run;
METHODS
new
my $app = App::Kramerius::URI->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::URI;
# Arguments.
@ARGV = (
'mzk',
);
# Run.
exit App::Kramerius::URI->new->run;
# Output like:
# http://kramerius.mzk.cz/ 4
DEPENDENCIES
REPOSITORY
https://github.com/michal-josef-spacek/App-Kramerius-URI
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2021 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.03