Remove punctuation from an error message
Shawn M Moore [Sat, 30 May 2009 06:02:10 +0000 (02:02 -0400)]
lib/Moose/Util/TypeConstraints.pm

index 8c6ecbf..0c69dbe 100644 (file)
@@ -506,7 +506,7 @@ sub _install_type_coercions ($$) {
     my $type = find_type_constraint($type_name);
     ( defined $type )
         || __PACKAGE__->_throw_error(
-        "Cannot find type '$type_name', perhaps you forgot to load it.");
+        "Cannot find type '$type_name', perhaps you forgot to load it");
     if ( $type->has_coercion ) {
         $type->coercion->add_type_coercions(@$coercion_map);
     }