Scroll to navigation

Dist::Zilla::Plugin::CPANFile(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::CPANFile(3pm)

NAME

Dist::Zilla::Plugin::CPANFile - produce a cpanfile prereqs file

VERSION

version 6.017

SYNOPSIS

    # dist.ini
    [CPANFile]

DESCRIPTION

This plugin will add a cpanfile file to the distribution.

ATTRIBUTES

filename

If given, parameter allows you to specify an alternate name for the generated file. It defaults, of course, to cpanfile.

    # dist.ini
    [CPANFile]
    filename = dzil-generated-cpanfile

comment

If given, override the default "cpanfile" header comment with your own. The default comment explains that this file was generated by Dist::Zilla and tells users to edit the dist.ini file to change prereqs

    # dist.ini
    [CPANFile]
    comment = This file is generated by Dist::Zilla
    comment = Prereqs are detected automatically. You do not need to edit this file

SEE ALSO

  • Module::CPANfile
  • Carton
  • cpanm

AUTHOR

Ricardo SIGNES 😏 <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 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.

2020-11-04 perl v5.30.3