Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Deep CPAN distribution.

Report information
The Basics
Id:
54362
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Normal
Broken in:
0.106
Fixed in:
(no value)



Subject: Test::Deep prototype warning with Moose
WIth this code on Perl 5.10.1: #!/usr/bin/env perl use Moose; use Test::Deep; We get the following warning: Prototype mismatch: sub main::blessed ($) vs none at /System/Library/Perl/5.10.1/Exporter.pm line 67. at proto.pl line 4 I haven't yet figured out how to suppress this warning. Cheers, Ovid
Subject: Re: [rt.cpan.org #54362] Test::Deep prototype warning with Moose
Date: Sat, 6 Feb 2010 20:11:32 +0000
To: bug-Test-Deep@rt.cpan.org
From: Fergal Daly <fergal@esatclear.ie>
Does moose export a blessed() by default? Test::Deep does. I suspect Moose does, with a prototype maybe and then Test::Deep's blessed doesn't match this prototype. The solution is for people not to export things by default but it's a bit late for that now (a fundamental flaw in perl). You could reverse the order of using, that way you'll end up with the Moose::blessed and no prototype conflict or do one or more of use Moose (); use Test::Deep () to avoid any default exports, or use Foo qw(!blessed); to avoid one of them.
I'm marking the ticket resolved because I don't this a bug as such, unless I'm missing something.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.