From: Dave Rolsky Date: Sun, 12 Oct 2008 16:30:18 +0000 (+0000) Subject: Fix a typo that is apparently syntactically just fine X-Git-Tag: 0.59~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4b7538e78407d5c3cdb60791fd8ff8a29948f14e;p=gitmo%2FMoose.git Fix a typo that is apparently syntactically just fine --- diff --git a/lib/Moose/Meta/Attribute.pm b/lib/Moose/Meta/Attribute.pm index 564adbd..4c5d571 100644 --- a/lib/Moose/Meta/Attribute.pm +++ b/lib/Moose/Meta/Attribute.pm @@ -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); }