From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

App::Wikidata::Template::CS::CitaceMonografie - Base class for Wikidata command line tool wd-citace-monografie.

SYNOPSIS

my $app = App::Wikidata::Template::CS::CitaceMonografie->new;
my $exit_code = $app->run;

METHODS

new

my $app = App::Wikidata::Template::CS::CitaceMonografie->new;

Constructor.

Returns instance of object.

run

my $exit_code = $app->run;

Run.

Returns 1 for error, 0 for success.

EXAMPLE

use strict;
# Arguments.
@ARGV = (
'-l cs',
'-p',
'Q79324593',
);
# Run.
exit App::Wikidata::Template::CS::CitaceMonografie->new->run;
# Output like:
# {{citace monografie
# | autor = Mistr Eckhart
# | isbn = 978-80-901884-8-8
# | místo = Brno
# | počet stran = 333
# | překladatelé = Martin Mrskoš, Petr Snášil, Vilém Konečný
# | rok = 2019
# | titul = Kázání
# | vydavatel = Horus
# }}

DEPENDENCIES

Class::Utils, Error::Pure, Getopt::Std, List::Util, Readonly, Unicode::UTF8, Wikibase::API, Wikibase::Datatype::Query.

REPOSITORY

https://github.com/michal-josef-spacek/App-Wikidata-Template-CS-CitaceMonografie

AUTHOR

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

http://skim.cz

LICENSE AND COPYRIGHT

© 2018-2025 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.04