The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Dist::Zilla::App::Command::new - mint a new dist

VERSION

version 6.032

SYNOPSIS

Creates a new Dist-Zilla based distribution under the current directory.

$ dzil new Main::Module::Name

There are two arguments, -p and -P. -P specify the minting profile provider and -p - the profile name.

The default profile provider first looks in the ~/.dzil/profiles/$profile_name and then among standard profiles, shipped with Dist::Zilla. For example:

$ dzil new -p work Corporate::Library

This command would instruct dzil to look in ~/.dzil/profiles/work for a profile.ini (or other "profile" config file). If no profile name is given, dzil will look for the default profile. If no default directory exists, it will use a very simple configuration shipped with Dist::Zilla.

$ dzil new -P Foo Corporate::Library

This command would instruct dzil to consult the Foo provider about the directory of 'default' profile.

Furthermore, it is possible to specify the default minting provider and profile in the ~/.dzil/config.ini file, for example:

[%Mint]
provider = FooCorp
profile = work

PERL VERSION

This module should work on any version of perl still receiving updates from the Perl 5 Porters. This means it should work on any version of perl released in the last two to three years. (That is, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.)

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

AUTHOR

Ricardo SIGNES 😏 <cpan@semiotic.systems>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.