>>>>> On Sat, 10 Dec 2011 09:51:03 +0200, Alex Efros <power...@powerman.name> >>>>> said:
> Hi! > I'm usually declare module version using this way: > use version; our $VERSION = qv('0.1.4'); # update POD & Changes & README > and PAUSE was able to parse it successfully several months ago, > but now it fail on this. I've also tried slightly different way > recommended on `perldoc version`: > use version 0.77; our $VERSION = version->declare('0.1.5'); # update POD & Changes & README > and PAUSE failed to parse this one too. > How I should declare module version in PAUSE-compatible way in format > '0.1.5' (i.e. not 'v0.1.5' and not '0.001005')? > The 'v0.1.5' is incompatible with some tools (like g-cpan in Gentoo > Linux), and '0.001005' is just ugly and hard to read. I just recently uploaded CPAN::Testers::ParseReport which has this line: use version; our $VERSION = qv('0.2.0'); and pause indexed it. I'm sorry that your variations thereof do not parse as you expect. I'm surprised myself. It's not easy to navigate through all the variations of version trickery. The above incantation is what Damian Conway has reommended in PBP and that is what pause tries to support as long as possible. -- andreas