app midgen

kevindawson edited this page Apr 4, 2013 · 12 revisions

Running in default mode, you get a module-install-dsl formatted output

  • note the addition of MooX::Types::MooseLike distribution.
$ midgen
Running midgen v0.18
Stamped -> 2013-03-24T15:16:26Z

use inc::Module::Install::DSL 1.06;

all_from lib/App/Midgen.pm
requires_from lib/App/Midgen.pm

perl_version 5.010001

requires Data::Printer                0.35
requires File::Slurp                  9999.19
requires JSON::Tiny                   0.25
requires MetaCPAN::API                0.43
requires Moo                          1.001
requires Moo::Role                    1.001
requires MooX::Types::MooseLike       0.23
requires MooX::Types::MooseLike::Base 0.23
requires PPI                          1.215
requires Perl::MinimumVersion         1.32
requires Perl::PrereqScanner          1.015
requires Time::Stamp                  1.3
requires Try::Tiny                    0.12

test_requires Test::More 0.98

recommends Test::Pod           1.46
recommends Test::Pod::Coverage 1.08

# ToDo you should consider the following
homepage    https://github.com/.../App-Midgen
bugtracker  https://github.com/.../App-Midgen/issues
repository  git://github.com/.../App-Midgen.git

install_script ...

no_index directory qw{ inc t xt }


I just spent 18s doing all that for you enjoy
__END__

Now we will do the same again but with some options, so you can compare outputs

  • show all the dual-life modules we have used as well
    • --dual-life or -l
$ midgen -l
Running midgen v0.18
Stamped -> 2013-03-24T15:19:02Z

use inc::Module::Install::DSL 1.06;

all_from lib/App/Midgen.pm
requires_from lib/App/Midgen.pm

perl_version 5.010001

requires Carp                         1.26
requires Cwd                          3.4
requires Data::Printer                0.35
requires File::Slurp                  9999.19
requires File::Spec                   3.4
requires Getopt::Long                 2.39
requires JSON::Tiny                   0.25
requires MetaCPAN::API                0.43
requires Module::CoreList             2.85
requires Moo                          1.001
requires Moo::Role                    1.001
requires MooX::Types::MooseLike       0.23
requires MooX::Types::MooseLike::Base 0.23
requires PPI                          1.215
requires Perl::MinimumVersion         1.32
requires Perl::PrereqScanner          1.015
requires Pod::Usage                   1.61
requires Scalar::Util                 1.27
requires Term::ANSIColor              4.02
requires Time::Stamp                  1.3
requires Try::Tiny                    0.12
requires constant                     1.27
requires version                      0.9902

test_requires Test::More 0.98

recommends Test::Pod           1.46
recommends Test::Pod::Coverage 1.08

# ToDo you should consider the following
homepage    https://github.com/.../App-Midgen
bugtracker  https://github.com/.../App-Midgen/issues
repository  git://github.com/.../App-Midgen.git

install_script ...

no_index directory qw{ inc t xt }


I just spent 10s doing all that for you enjoy
__END__

Now we will do the same again but with some options, so you can compare outputs

  • show all the perl core modules we have used includes dual-life as well
    • --core or -c
  • note that the version shown is the current, as per time stamp
  • if you don't want perl core modules to have 'core' as a version number, look at using -z to display a 0 instead.
    • --zero or -z
$ midgen -c
Running midgen v0.18
Stamped -> 2013-03-24T15:21:42Z

use inc::Module::Install::DSL 1.06;

all_from lib/App/Midgen.pm
requires_from lib/App/Midgen.pm

perl_version 5.010001

requires Carp                         1.26
requires Cwd                          3.4
requires Data::Printer                0.35
requires English                      core
requires File::Find                   core
requires File::Slurp                  9999.19
requires File::Spec                   3.4
requires FindBin                      core
requires Getopt::Long                 2.39
requires JSON::Tiny                   0.25
requires MetaCPAN::API                0.43
requires Module::CoreList             2.85
requires Moo                          1.001
requires Moo::Role                    1.001
requires MooX::Types::MooseLike       0.23
requires MooX::Types::MooseLike::Base 0.23
requires PPI                          1.215
requires Perl::MinimumVersion         1.32
requires Perl::PrereqScanner          1.015
requires Pod::Usage                   1.61
requires Scalar::Util                 1.27
requires Term::ANSIColor              4.02
requires Time::Stamp                  1.3
requires Try::Tiny                    0.12
requires constant                     1.27
requires strict                       core
requires version                      0.9902
requires warnings                     core

test_requires Test::More 0.98

recommends Test::Pod           1.46
recommends Test::Pod::Coverage 1.08

# ToDo you should consider the following
homepage    https://github.com/.../App-Midgen
bugtracker  https://github.com/.../App-Midgen/issues
repository  git://github.com/.../App-Midgen.git

install_script ...

no_index directory qw{ inc t xt }


I just spent 11s doing all that for you enjoy
__END__