App::Midgen - generate the requires and test requires for Makefile.PL using Module::Install::DSL
This document describes App::Midgen version 0.07
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
Print a brief help message and exits.
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
* 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
Show file that are being checked
also show contents of base|parent check
alternative --base or -b
Turn Off - try to include the contents of base|parent modules as well
Turn Off - the /Mojo/ to Mojolicious catch
* Show a required modules noisy children, as we find them
equivalent of -cv and some :)
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 -?
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
Error message here, perhaps with %s placeholders
[Description of error here]
Another error message here
[Et cetera, et cetera]
App::Midgen requires no configuration files or environment variables.
None.
None reported.
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.
bug-app-midgen@rt.cpan.org
Kevin Dawson <bowtie@cpan.org>
none at present
Copyright © 2013 AUTHORS and CONTRIBUTORS as listed above.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
Perl::PrereqScanner,
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.
To install App::Midgen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Midgen
CPAN shell
perl -MCPAN -e shell install App::Midgen
For more information on module installation, please visit the detailed CPAN module installation guide.