App::Images::To::DjVu - Base class for images2djvu script.
use App::Images::To::DjVu; my $app = App::Images::To::DjVu->new; my $exit_code = $app->run;
new
my $app = App::Images::To::DjVu->new;
Constructor.
Returns instance of object.
run
my $exit_code = $app->run;
Run.
Returns 1 for error, 0 for success.
new(): From Class::Utils::set_params(): Unknown parameter '%s'. run(): Unsupported encoder '%s'.
use strict; use warnings; use App::Images::To::DjVu; # Arguments. @ARGV = ( '-h', ); # Run. exit App::Images::To::DjVu->new->run; # Output like: # Usage: ./ex1.pl [-e encoder] [-h] [-o out_file] [-q] [--version] images_list_file # -e encoder Encoder (default value is 'c44'). # -h Print help. # -o out_file Output file (default value is 'output.djvu'). # -q Quiet mode. # --version Print version. # images_list_file Text file with images list.
Class::Utils, Error::Pure, File::Basename, Getopt::Std, Perl6::Slurp.
https://github.com/michal-josef-spacek/App-Images-To-DjVu
Michal Josef Špaček mailto:skim@cpan.org
http://skim.cz
© 2021-2022 Michal Josef Špaček
BSD 2-Clause License
0.02
To install App::Images::To::DjVu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Images::To::DjVu
CPAN shell
perl -MCPAN -e shell install App::Images::To::DjVu
For more information on module installation, please visit the detailed CPAN module installation guide.