Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 59770
Status: resolved
Priority: 0/
Queue: Dist-Zilla

Owner: Nobody in particular
Requestors: xenoterracide [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

CC: Caleb Cushing <xenoterracide [...]>
Subject: [PATCH] fix documentation
Date: Wed, 28 Jul 2010 06:46:36 -0400
To: bugs-dist-zilla [...]
From: Caleb Cushing <xenoterracide [...]>
Download (untitled) / with headers
text/plain 1.2k
add a SYNOPSIS and correct what the documentation says is inserted to be accurate. Signed-off-by: Caleb Cushing <> --- explanation for how to apply this patch can be found here lib/Dist/Zilla/Plugin/ | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/Dist/Zilla/Plugin/ b/lib/Dist/Zilla/Plugin/ index 9ef02c0..d015d33 100644 --- a/lib/Dist/Zilla/Plugin/ +++ b/lib/Dist/Zilla/Plugin/ @@ -9,13 +9,23 @@ with( ); use PPI; +=head1 SYNOPSIS + +in dist.ini + + [PkgVersion] =head1 DESCRIPTION -This plugin will add a line like the following to each package in each Perl +This plugin will add a lines like the following to each package in each Perl module or program (more or less) within the distribution: - our $VERSION = 0.001; # where 0.001 is the version of the dist + BEGIN { + $MyModule::VERSION = 0.001; + } + +note: where 0.001 is the version of the dist, and $MyModule is the name of +your modules It will skip any package declaration that includes a newline between the C<package> keyword and the package name, like: -- 1.7.2
Thanks. Sorry for the delay. -- rjbs

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to