NAME
App::Midgen - generate the requires and test requires for Makefile.PL using Module::Install::DSL
VERSION
This document describes App::Midgen version 0.07
SYNOPSIS
midgen.pl [options]
Options:
-help brief help message
-output change format
-core show perl core modules
-verbose take a little peek as to what is going on
-base Don't check for base includes
-mojo Don't be Mojo friendly
-debug lots of stuff
OPTIONS
- --help or -h
-
Print a brief help message and exits.
- --output or -o
-
By default we do 'dsl' -> Module::Include::DSL
midgen.pl -o dsl # Module::Include::DSL midgen.pl -o mi # Module::Include midgen.pl -o build # Build.PL
- -core or -c
-
* Shows modules that are in Perl core * some modules have a version number eg; constant, Carp * some have a version of 0 eg; strict, English
- --verbose or -v
-
Show file that are being checked
also show contents of base|parent check
- --parent or -p
-
alternative --base or -b
Turn Off - try to include the contents of base|parent modules as well
- --mojo or -m
-
Turn Off - the /Mojo/ to Mojolicious catch
- --noisy_children or -n
-
* Show a required modules noisy children, as we find them
- --debug or -d
-
equivalent of -cv and some :)
DESCRIPTION
This started out as a way of generating the core for a Module::Install::DSL Makefile.PL, why DSL because it's nice and clean, so now I can generate the contents when I want, rather than as I add new use and require statments, and because adam kicked me :)
Change to root of package and run
midgen.pl
Now with a GetOps --help or -?
midgen.pl -?
METHODS
base_parent
find_makefile_requires
find_makefile_test_requires
find_package_names
find_required_modules
find_required_test_modules
first_package_name
initialise
output_footer
output_header
output_main_body
process_found_modules
remove_noisy_children
run
store_modules
INTERFACE
DIAGNOSTICS
Error message here, perhaps with %s placeholders
-
[Description of error here]
Another error message here
-
[Description of error here]
[Et cetera, et cetera]
CONFIGURATION AND ENVIRONMENT
App::Midgen requires no configuration files or environment variables.
DEPENDENCIES
None.
INCOMPATIBILITIES
None reported.
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to bug-app-midgen@rt.cpan.org
, or through the web interface at http://rt.cpan.org.
AUTHORS
Kevin Dawson <bowtie@cpan.org>
CONTRIBUTORS
none at present
COPYRIGHT
Copyright © 2013 AUTHORS and CONTRIBUTORS as listed above.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
SEE ALSO
DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.