1Dist::Zilla::Plugin::PkUgsVeerrsCioonnt(r3i)buted Perl DDoicsutm:e:nZtialtliao:n:Plugin::PkgVersion(3)
2
3
4
6 Dist::Zilla::Plugin::PkgVersion - add a $VERSION to your packages
7
9 version 4.300002
10
12 in dist.ini
13
14 [PkgVersion]
15
17 This plugin will add lines like the following to each package in each
18 Perl module or program (more or less) within the distribution:
19
20 {
21 $MyModule::VERSION = 0.001;
22 }
23
24 ...where 0.001 is the version of the dist, and MyModule is the name of
25 the package being given a version. (In other words, it always uses
26 fully-qualified names to assign versions.)
27
28 It will skip any package declaration that includes a newline between
29 the "package" keyword and the package name, like:
30
31 package
32 Foo::Bar;
33
34 This sort of declaration is also ignored by the CPAN toolchain, and is
35 typically used when doing monkey patching or other tricky things.
36
38 Ricardo SIGNES <rjbs@cpan.org>
39
41 This software is copyright (c) 2011 by Ricardo SIGNES.
42
43 This is free software; you can redistribute it and/or modify it under
44 the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.12.4 2011-09-22Dist::Zilla::Plugin::PkgVersion(3)