NAME

Dist::Zilla::Plugin::OverridePkgVersion - Override existing VERSION in a module

VERSION

version 0.002

SYNOPSIS

in dist.ini

[OverridePkgVersion]

in your modules

# VERSION

DESCRIPTION

This module was created as an alternative to Dist::Zilla::Plugin::OurPkgVersion and uses some code from that module. In addition to inserting a version number, it will update an existing version number.

EXAMPLES

in dist.ini

version = 0.02;
[OurPkgVersion]

in lib/My/Module.pm

package My::Module;
our $VERSION = '0.01'; # VERSION

output lib/My/Module.pm

package My::Module;
our $VERSION = '0.02'; # VERSION

AUTHOR

Graham Knop <haarg@haarg.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Graham Knop.

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