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

NAME

App::DWG::Sort - Base class for dwg-sort script.

SYNOPSIS

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

METHODS

new

my $app = App::DWG::Sort->new;

Constructor.

run

my $exit_code = $app->run;

Run.

Returns 1 for error, 0 for success.

ERRORS

new():
From Class::Utils::set_params():
Unknown parameter '%s'.

EXAMPLE

use strict;
# Arguments.
@ARGV = (
'-h',
);
# Run.
exit App::DWG::Sort->new->run;
# Output like:
# Usage: ./sort_help.pl [-h] [--version] directory
# -h Print help.
# --version Print version.
# directory Directory with DWG files.

DEPENDENCIES

CAD::AutoCAD::Detect, Class::Utils, Error::Pure, File::Copy, File::Find::Rule, File::Find::Rule::DWG, File::Path, File::Spec::Functions, Getopt::Std.

REPOSITORY

https://github.com/michal-josef-spacek/App-DWG-Sort

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.01