Dist::Zilla::Plugin::OurDist - Add a $DIST to your packages (no line insertion)
This document describes version 0.02 of Dist::Zilla::Plugin::OurDist (from Perl distribution Dist-Zilla-Plugin-OurDist), released on 2015-07-04.
in dist.ini:
[OurDist]
in your modules/scripts:
our $DIST = 'Dist-Zilla-Plugin-OurDist'; # DIST
or
our $DIST = 'Some-Dist'; # DIST
This module is like Dist::Zilla::Plugin::PkgDist except that it looks for comments # DIST and put the $DIST assignment there instead of adding another line. The principle is the same as in Dist::Zilla::Plugin::OurVersion (instead of Dist::Zilla::Plugin::PkgVersion).
# DIST
$DIST
Comment/directive below __DATA__ or __END__ will not be replaced.
__DATA__
__END__
Dist::Zilla
Please visit the project's homepage at https://metacpan.org/release/Dist-Zilla-Plugin-OurDist.
Source repository is at https://github.com/perlancar/perl-Dist-Zilla-Plugin-OurDist.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-OurDist
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::OurDist, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::OurDist
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::OurDist
For more information on module installation, please visit the detailed CPAN module installation guide.