Fix a typo that is apparently syntactically just fine
Dave Rolsky [Sun, 12 Oct 2008 16:30:18 +0000 (16:30 +0000)]
lib/Moose/Meta/Attribute.pm

index 564adbd..4c5d571 100644 (file)
@@ -523,7 +523,7 @@ sub get_value {
                 $value = $type_constraint->coerce($value)
                     if ($self->should_coerce);
                 $type_constraint->check($value) 
-                  || c$self->throw_error("Attribute (" . $self->name
+                  || $self->throw_error("Attribute (" . $self->name
                       . ") does not pass the type constraint because: "
                       . $type_constraint->get_message($value), type_constraint => $type_constraint, data => $value);
             }