[Moose-commits] r7848 - Mouse/trunk/lib/Mouse/Meta
lestrrat at code2.0beta.co.uk
lestrrat at code2.0beta.co.uk
Sat Mar 7 09:44:01 GMT 2009
Author: lestrrat
Date: 2009-03-07 01:44:01 -0800 (Sat, 07 Mar 2009)
New Revision: 7848
Modified:
Mouse/trunk/lib/Mouse/Meta/Attribute.pm
Log:
oops, that used confess
Modified: Mouse/trunk/lib/Mouse/Meta/Attribute.pm
===================================================================
--- Mouse/trunk/lib/Mouse/Meta/Attribute.pm 2009-03-07 09:07:25 UTC (rev 7847)
+++ Mouse/trunk/lib/Mouse/Meta/Attribute.pm 2009-03-07 09:44:01 UTC (rev 7848)
@@ -257,7 +257,7 @@
if exists $args{coerce};
if (exists $args{isa}) {
- warn "Got isa => $args{isa}, but Mouse does not yet support parameterized types for containers other than ArrayRef and HashRef (rt.cpan.org #39795)"
+ confess "Got isa => $args{isa}, but Mouse does not yet support parameterized types for containers other than ArrayRef and HashRef (rt.cpan.org #39795)"
if $args{isa} =~ /^([^\[]+)\[.+\]$/ &&
$1 ne 'ArrayRef' &&
$1 ne 'HashRef';
More information about the Moose-commits
mailing list