Skip Menu |

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

Maintainer(s)' notes

Attention bug reporters: issues MUST include the version of Module::Metadata that you are running that exhibit the stated symptoms. thank you!

Report information
The Basics
Id: 94940
Status: rejected
Priority: 0/
Queue: Module-Metadata

People
Owner: ether [...] cpan.org
Requestors: ether [...] cpan.org
Cc: ribasushi [...] leporine.io
AdminCc:

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



Subject: Cannot parse $VERSION from Contextual::Return 0.004007
my parse_version script (https://github.com/karenetheridge/misc/blob/master/install/generic/bin/parse_version) says this: parse_version META.yml lib/Contextual/Return.pm Guessing module name is Contextual::Return from file lib/Contextual/Return.pm. Parse::PMFile module(s): Contextual::Return::Lvalue, Contextual::Return::Value, Contextual::Return Parse::PMFile version: 0.004007 MM->parse_version: 0.004007 V::get_version: 0.004007 Module::Info->packages_inside: Name "Contextual::Return::SCALAR" used only once: possible typo at /Users/ether/.cpanm/work/1398206445.50330/Contextual-Return-0.004007/lib/Contextual/Return.pm line 916., Contextual::Return, Name "Contextual::Return::FAIL" used only once: possible typo at /Users/ether/.cpanm/work/1398206445.50330/Contextual-Return-0.004007/lib/Contextual/Return.pm line 174., Contextual::Return::Value, Name "Contextual::Return::LAZY" used only once: possible typo at /Users/ether/.cpanm/work/1398206445.50330/Contextual-Return-0.004007/lib/Contextual/Return.pm line 916., Name "Contextual::Return::FAIL_WITH" used only once: possible typo at /Users/ether/.cpanm/work/1398206445.50330/Contextual-Return-0.004007/lib/Contextual/Return.pm line 175., Contextual::Return::Lvalue Module::Info->...->version: 0.004007 Module::Metadata module(s): Contextual::Return, DB, Contextual::Return::Value, Contextual::Return::Lvalue Module::Metadata version: <undef> Module::InstalledVersion: 0.004007 Module::Version::get_version: 0.004007 Contextual::Return->VERSION: 0.004007 $Contextual::Return::VERSION: 0.004007
From: Dries Harnie <dries [...] harnie.be>
On Tue Apr 22 18:44:59 2014, ETHER wrote: Show quoted text
Show quoted text
> Module::Metadata module(s): Contextual::Return, DB, Contextual::Return::Value, Contextual::Return::Lvalue > Module::Metadata version: <undef>
Replying to this ticket as it came up in freenode #perl today: It seems M::M is confused by the "package DB" on line 13 of C::R. If you ask the version of the "DB" package it is correct. % perl -MModule::Metadata -le'print (Module::Metadata->new_from_module("Contextual::Return", inc => \@INC)->version("DB"))' 0.004007
This must be addressed by/at Berlin QAH.
RT-Send-CC: dries [...] harnie.be
On 2014-07-23 06:11:00, https://www.google.com/accounts/o8/id?id=AItOawn4_gA1EjW-h4hyI9ytaQscYpIY8LyCSiY wrote: Show quoted text
> On Tue Apr 22 18:44:59 2014, ETHER wrote: >
> > Module::Metadata module(s): Contextual::Return, DB, > > Contextual::Return::Value, Contextual::Return::Lvalue > > Module::Metadata version: <undef>
> > Replying to this ticket as it came up in freenode #perl today: > > It seems M::M is confused by the "package DB" on line 13 of C::R. > If you ask the version of the "DB" package it is correct. > > % perl -MModule::Metadata -le'print (Module::Metadata-
> >new_from_module("Contextual::Return", inc => \@INC)->version("DB"))'
> 0.004007
I have submitted a patch to Contextual-Return at https://rt.cpan.org/Ticket/Display.html?id=88646. This cannot be fixed in Module::Metadata without doing a full parse of the file (to match braces, to tell when the scope of "package DB" has ended). Closing as "won't fix".