App::Perl::Module::CopyrightYears - Base class for perl-module-copyright-years tool.
use App::Perl::Module::CopyrightYears; my $app = App::Perl::Module::CopyrightYears->new; my $exit_code = $app->run;
new
my $app = App::Perl::Module::CopyrightYears->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'.
use strict; use warnings; use App::Perl::Module::CopyrightYears; # Arguments. @ARGV = ( '-h', ); # Run. exit App::Perl::Module::CopyrightYears->new->run; # Output like: # Usage: ./print_help.pl [-d] [-h] [-s section(s)] [-y last_year] [--version] # -d Debug mode. # -h Print help. # -s section(s) Section(s) to look (default is LICENSE AND COPYRIGHT) # -y last_year Last year (default value is actual year) # --version Print version.
Class::Utils, File::Find::Rule, File::Spec::Functions, Getopt::Std, IO::Barf, Pod::CopyrightYears, Perl6::Slurp, String::UpdateYears.
https://github.com/michal-josef-spacek/App-Perl-Module-CopyrightYears
Michal Josef Špaček mailto:skim@cpan.org
http://skim.cz
© 2023 Michal Josef Špaček
BSD 2-Clause License
0.02
To install App::Perl::Module::CopyrightYears, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Perl::Module::CopyrightYears
CPAN shell
perl -MCPAN -e shell install App::Perl::Module::CopyrightYears
For more information on module installation, please visit the detailed CPAN module installation guide.