From: Shawn M Moore Date: Sat, 30 May 2009 06:02:10 +0000 (-0400) Subject: Remove punctuation from an error message X-Git-Tag: 0.80~59 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a885c0190e2c59551898881815a97a1cf9bc00e0;p=gitmo%2FMoose.git Remove punctuation from an error message --- diff --git a/lib/Moose/Util/TypeConstraints.pm b/lib/Moose/Util/TypeConstraints.pm index 8c6ecbf..0c69dbe 100644 --- a/lib/Moose/Util/TypeConstraints.pm +++ b/lib/Moose/Util/TypeConstraints.pm @@ -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); }