Skip Menu |

This queue is for tickets about the Any-Moose CPAN distribution.

Report information
The Basics
Id: 68657
Status: resolved
Priority: 0/
Queue: Any-Moose

People
Owner: Nobody in particular
Requestors: dmacks [...] netspace.org
Cc:
AdminCc:

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



Subject: t/004-x-modules-mouse.t skips due to syntax error
Date: Sun, 05 Jun 2011 04:46:28 -0400
To: bug-Any-Moose [...] rt.cpan.org
From: "Daniel Macks" <dmacks [...] netspace.org>
Building Any::Moose 0.14 on OS X 10.6 using perl5.10.0 (from apple) or perl5.8.8 (from fink) gives during 'make test': t/000-version.t ................. 1/1 # Mouse: 0.59 # MouseX::Types: 0.05 # Moose: 2.0007 # Class::MOP: 2.0007 # MooseX::Types: 0.24 which is correct (those dependent libraries are all supplied via fink) but then: t/004-x-modules-mouse.t ......... skipped: Mouse or MouseX::Types 0.03 not available I made that test diagnostic message more verbose, and get: t/004-x-modules-mouse.t ......... skipped: Mouse or MouseX::Types 0.03 not available (syntax error at (eval 4) line 1, near "require MouseX::Types 0.03" The require() function does not like a (module version) pair, just a (module). The use() takes an optional version specification. Alternately, one could require() and then separately test the module's $VERSION package-variable or ->VERSION method in this situation. dan -- Daniel Macks dmacks@netspace.org
Hi Daniel, I've just now released 0.15 which fixes this issue. Cheers! Shawn