Warn about missing associated methoes, instead of die.
[gitmo/Mouse.git] / lib / Mouse / Meta / Attribute.pm
index 4c220b1..b41c075 100644 (file)
@@ -261,7 +261,7 @@ sub create {
     }
 
     if($associated_methods == 0 && $is_metadata ne 'bare'){
-        confess(qq{Attribute ($name) of class }.$class->name.qq{ has no associated methods (did you mean to provide an "is" argument?)});
+        Carp::cluck(qq{Attribute ($name) of class }.$class->name.qq{ has no associated methods (did you mean to provide an "is" argument?)});
     }
 
     return $attribute;