Replace CRLF to LF with all the files
[gitmo/Mouse.git] / lib / Mouse / Meta / TypeConstraint.pm
index 155c48c..fb7047b 100644 (file)
@@ -26,7 +26,7 @@ sub new {
 
     if($args{_compiled_type_constraint}){
         Carp::cluck("'_compiled_type_constraint' has been deprecated, use 'optimized' instead")
-            if _MOUSE_VERBOSE;
+            if Mouse::Util::_MOUSE_VERBOSE;
 
         $check = $args{_compiled_type_constraint};
     }
@@ -114,15 +114,15 @@ sub _add_type_coercions{
     }
     else{
         $self->{_compiled_type_coercion} = sub {
-           my($thing) = @_;\r
-           foreach my $pair (@{$coercions}) {\r
-                #my ($constraint, $converter) = @$pair;\r
-                if ($pair->[0]->check($thing)) {\r
+           my($thing) = @_;
+           foreach my $pair (@{$coercions}) {
+                #my ($constraint, $converter) = @$pair;
+                if ($pair->[0]->check($thing)) {
                   local $_ = $thing;
                   return $pair->[1]->($thing);
-                }\r
-           }\r
-           return $thing;\r
+                }
+           }
+           return $thing;
         };
     }
     return;
@@ -210,7 +210,7 @@ Mouse::Meta::TypeConstraint - The Mouse Type Constraint metaclass
 
 =head1 VERSION
 
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.4501
 
 =head1 DESCRIPTION