"Perl for Perl Newbies" - Part 5 - Good Programming PracticesModule-Build and Module-StarterThe Module-Starter Invocation Command

8.1. The Module-Starter Invocation Command

After you install Module-Starter, you can type module-starter --helpto get the help for it, and get a result such as the following:

    module-starter [options]


        --module=module  Module name (required, repeatable)
        --distro=name    Distribution name (optional)
        --dir=dirname    Directory name to create new module in (optional)

        --builder=module Build with 'ExtUtils::MakeMaker' or 'Module::Build'
        --eumm           Same as --builder=ExtUtils::MakeMaker
        --mb             Same as --builder=Module::Build
        --mi             Same as --builder=Module::Install

        --author=name    Author's name (required)
        --email=email    Author's email (required)
        --license=type   License under which the module will be distributed
                         (default is the same license as perl)

        --verbose        Print progress messages while working
        --force          Delete pre-existing files if needed

        --help           Show this message

    Available Licenses: perl, bsd, gpl, lgpl, mit


        module-starter --module=Foo::Bar,Foo::Bat \
            --author="Andy Lester" --email=andy@petdance.com

Let's show an example invocation for our own module called MyMath::Opswhich will contain some silly mathematical routines:









Perl Newbie



Written by Shlomi Fish