Skip Menu |

This queue is for tickets about the Module-Finder CPAN distribution.

Report information
The Basics
Id: 79245
Status: open
Priority: 0/
Queue: Module-Finder

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

Bug Information
Severity: Normal
Broken in: v0.1.5
Fixed in: (no value)



Subject: VERSION not being set as expected
The VERSION is defined with: $VERSION = v0.1.5; This means that the VERSION isn't being set, for example if I try to print it: use Module::Finder; print "version = ", $Module::Finder::VERSION, "\n"; version = You could change this line to: our $VERSION = '0.1.5'; Or if you want to use the v notation: use version; our $VERSION = qv('v1.2.0'); (which I noticed when looking at the source for Module::Used)
Subject: Re: [rt.cpan.org #79245] VERSION not being set as expected
Date: Mon, 10 Sep 2012 23:03:58 -0700
To: bug-Module-Finder [...] rt.cpan.org
From: Eric Wilhelm <enobacon [...] gmail.com>
# from Neil_Bowers via RT on Monday 27 August 2012: Show quoted text
>This means that the VERSION isn't being set, for example if I try to >print it: > > use Module::Finder; > print "version = ", $Module::Finder::VERSION, "\n"; > version =
Hi Neil, Please try the VERSION method: use Module::Finder; print "version = ", Module::Finder->VERSION, "\n"; version = v0.1.5 Thanks, Eric