Skip Menu |

This queue is for tickets about the ShipIt-Step-ChangePodVersion CPAN distribution.

Report information
The Basics
Id: 86598
Status: new
Worked: 15 min
Priority: 0/
Queue: ShipIt-Step-ChangePodVersion

People
Owner: Nobody in particular
Requestors: gortan [...] cpan.org
Cc: gortan [...] cpan.org
AdminCc:

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



CC: gortan [...] gmail.com
Subject: "vvvv..." when using version module
I'm using the version module to define the version of my main module: use version; our $VERSION = qv('v0.1.2'); further down in the POD, it says: =head1 VERSION v0.1.2 after running shipit with the ChangePodVersion step, the version in the POD reads: vv0.1.2 at the next run vvv0.1.2 etc. I'm using perl 5.12.4 on amd64 Linux.
Changing the regexp to: if ($file_content !~ s/(^=head\d VERSION[^\d=]*?)v?[\d._]+/$1$new_version/sm) { fixes the issue for me.