Dist::Zilla::Plugin::OverridePkgVersion - Override existing VERSION in a module
version 0.001
in dist.ini
[OverridePkgVersion]
in your modules
# VERSION
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.
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
Graham Knop <haarg@haarg.org>
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.
To install Dist::Zilla::Plugin::OverridePkgVersion, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::OverridePkgVersion
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::OverridePkgVersion
For more information on module installation, please visit the detailed CPAN module installation guide.