GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DIST::ZILLA::PLUGIN::PKGVERSION (3)

.ds Aq ’

NAME

Dist::Zilla::Plugin::PkgVersion - add a $VERSION to your packages

CONTENTS

VERSION

version 4.300030

SYNOPSIS

in dist.ini



  [PkgVersion]



DESCRIPTION

This plugin will add lines like the following to each package in each Perl module or program (more or less) within the distribution:



  {
    $MyModule::VERSION = 0.001;
  }



...where 0.001 is the version of the dist, and MyModule is the name of the package being given a version. (In other words, it always uses fully-qualified names to assign versions.)

It will skip any package declaration that includes a newline between the package keyword and the package name, like:



  package
    Foo::Bar;



This sort of declaration is also ignored by the CPAN toolchain, and is typically used when doing monkey patching or other tricky things.

SEE ALSO

Core Dist::Zilla plugins: PodVersion, AutoVersion, NextRelease.

Other Dist::Zilla plugins: OurPkgVersion inserts version numbers using our $VERSION = ...; and without changing line numbers

AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Ricardo SIGNES.

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DIST::ZILLA::PLUGIN::PKGVERSION (3) 2013-01-31

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.