The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!/usr/bin/env perl
use strict;
our $VERSION = 0.03;
# Run.
exit App::Perl::Module::Examples->new->run;
# Print version.
sub VERSION_MESSAGE {
print $VERSION."\n";
exit 0;
}
__END__
=pod
=encoding utf8
=head1 NAME
perl-module-examples - Tool for creating examples from Perl module POD documentation.
=head1 SYNOPSIS
perl-module-examples [-d] [-h] [--version]
=head1 DESCRIPTION
Tool to create examples/ directory in Perl distribution, which is generated by
L<Pod::Example> from *.pm modules.
=head1 ARGUMENTS
=over 8
=item * C<-d>
Turn on debug mode.
=item * C<-h>
Print help.
=item * C<--version>
Print version of script.
=back
=head1 EXAMPLE
perl-module-examples -h
=head1 REPOSITORY
=head1 AUTHOR
Michal Josef Špaček L<mailto:skim@cpan.org>
=head1 LICENSE AND COPYRIGHT
© 2012-2024 Michal Josef Špaček
BSD 2-Clause License
=head1 VERSION
0.03
=cut