#!/usr/bin/env perl

use strict;
use warnings;

use App::Perl::Module::CopyrightYears;

our $VERSION = 0.01;

# Run.
exit App::Perl::Module::CopyrightYears->new->run;

# Print version.
sub VERSION_MESSAGE {
	print $VERSION."\n";
	exit 0;
}

__END__

=pod

=encoding utf8

=head1 NAME

perl-module-copyright-years - Tool for update copyright years in Perl distribution.

=head1 SYNOPSIS

 perl-module-copyright-years [-d] [-h] [-s section(s)] [-y last_year] [--version]

=head1 DESCRIPTION

Tool to update copyright years in Perl distribution. It's changing years in
*.pm, *.pod, LICENSE and bin/* files.

=head1 ARGUMENTS

=over 8

=item * C<-d>

Turn on debug mode.

=item * C<-h>

Print help.

=item * C<-s section(s)>

Section(s) to look.
Default value is 'LICENSE AND COPYRIGHT' section in pod.

=item * C<-y last_year>

Last year.
Default value is actual year,

=item * C<--version>

Print version of script.

=back

=head1 EXAMPLE

 perl-module-copyright-years -h

=head1 REPOSITORY

L<https://github.com/michal-josef-spacek/App-Perl-Module-CopyrightYears>

=head1 AUTHOR

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

L<http://skim.cz>

=head1 LICENSE AND COPYRIGHT

© 2023 Michal Josef Špaček

BSD 2-Clause License

=head1 VERSION

0.01

=cut
