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::Plugin::TrialVersionComment - Add a # TRIAL comment after your version declaration in trial # releases

VERSION

version 0.002

SYNOPSIS

In your dist.ini:

    [TrialVersionComment]

DESCRIPTION

This is a Dist::Zilla plugin that munges your .pm files to add a # TRIAL comment after $VERSION assignments, if the release is --trial.

If the distribution is not a --trial release (i.e. release_status in metadata is stable), this plugin does nothing.

Other plugins that munge versions into files also add the # TRIAL comment (such as [PkgVersion], [OurPkgVersion], and [RewriteVersion], so you would generally only need this plugin if you added the version yourself, manually.

Nothing currently parses these comments, but the idea is that things like Module::Metadata might make use of this in the future.

SUPPORT

Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-TrialVersionComment@rt.cpan.org). I am also usually active on irc, as 'ether' at irc.perl.org.

ACKNOWLEDGEMENTS

Inspiration for this module came about through multiple toolchain conversations with David Golden (xdg).

SEE ALSO

AUTHOR

Karen Etheridge <ether@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Karen Etheridge.

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