Subject: | Protoyping bug |
Date: | Tue, 06 Feb 2007 18:13:14 -0500 |
To: | bug-Class-Agreement [...] rt.cpan.org |
From: | Jon Leonard <jleonard [...] ll.mit.edu> |
Ian, RT, whoever:
It seems like Class::Agreement is confused by prototyping. In a
module I have:
use List::Util 'shuffle';
use Class::Agreement;
invariant sub {...}
{...shuffle...}
When running code that uses the module I get the message:
"Prototype mismatch: sub Deck::shuffle (@) vs none at
Class/Agreement.pm line 243."
Here's some relevant info:
* Class::Agreement-0.02
* Perl v5.8.6 on solaris
* SunOS hostname 5.9 Generic_118558-23 sun4u sparc