Skip Menu |

This queue is for tickets about the Dir-Self CPAN distribution.

Report information
The Basics
Id: 88393
Status: resolved
Priority: 0/
Queue: Dir-Self

People
Owner: Nobody in particular
Requestors: miyagawa [...] gmail.com
Cc:
AdminCc:

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



Subject: VERSION
Date: Tue, 3 Sep 2013 11:19:48 -0700
To: bug-Dir-Self [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
I've seen complaints about Dir-Self distribution where cpanm failed to parse the version number in some environments. While i couldn't reproduce this, and guess PAUSE has no issues with it, but *VERSION = \'0.10'; looks like just a too creative hack to gain nothing. Can you make it just a regular $VERSION = '0.11' to be friendly for the tools that need to parse that out? Thanks, -- Tatsuhiko Miyagawa
On Tue Sep 03 14:20:19 2013, miyagawa@gmail.com wrote: Show quoted text
> I've seen complaints about Dir-Self distribution where cpanm failed to > parse the version number in some environments. While i couldn't > reproduce this, and guess PAUSE has no issues with it, but > > *VERSION = \'0.10'; > > looks like just a too creative hack to gain nothing. > > Can you make it just a regular $VERSION = '0.11' to be friendly for > the tools that need to parse that out?
Sure, but I'm surprised Dir::Self is the first module where this problem occurs. The typeglob assignment trick to get a read-only var is explicitly documented in https://metacpan.org/module/ExtUtils::MakeMaker#VERSION_FROM .