Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Solved: Test failure installing MooseX::Types::Structured

by 1nickt (Canon)
on Oct 13, 2015 at 16:22 UTC ( [id://1144721]=perlquestion: print w/replies, xml ) Need Help??

1nickt has asked for the wisdom of the Perl Monks concerning the following question:

Edit: Thanks to ilmari on IRC I tried upgrading MooseX::Types and upgrading it from 0.44 to 0.46 fixed the error. So even though the Makefile.PL for MooseX::Types::Structured requires only version 0.22, MooseX::Types version 0.44 is incompatible with MooseX::Types::Structured version 0.34.

Hello monks,

I'm wondering if someone can help me understand how MooseX::Types::Structured can fail its own test as follows:

t/11-overflow.t ................ "slurpy" is not exported by the Moose +X::Types::Structured module at /opt/perl5/perls/perl-5.16.3/lib/site_ +perl/5.16.3/MooseX/Types/Base.pm line 120. BEGIN failed--compilation aborted at t/11-overflow.t line 5.
when the module code includes:
use Sub::Exporter 0.982 -setup => { exports => [ qw(Dict Map Tuple Optional slurpy) ], };
All other tests passing. All tests including this one passing on CPANTS.

Perhaps it's a version issue with Sub::Exporter?

# Module Want Have # -------------------------------------------- ----- ------ # Sub::Exporter 0.982 0.987
But there don't seem to have been any significant changes in Sub::Exporter between those versions ...

Thanks!

The way forward always starts with a minimal test.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1144721]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found