projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Always load Mouse::Util first, which will be load Mouse::XS in the future
[gitmo/Mouse.git]
/
lib
/
Mouse
/
Meta
/
TypeConstraint.pm
diff --git
a/lib/Mouse/Meta/TypeConstraint.pm
b/lib/Mouse/Meta/TypeConstraint.pm
index
7b8732d
..
916acc1
100644
(file)
--- a/
lib/Mouse/Meta/TypeConstraint.pm
+++ b/
lib/Mouse/Meta/TypeConstraint.pm
@@
-1,11
+1,14
@@
package Mouse::Meta::TypeConstraint;
use strict;
use warnings;
-use Carp ();
use overload '""' => sub { shift->{name} }, # stringify to tc name
fallback => 1;
+use Carp ();
+
+use Mouse::Util ();
+
sub new {
my $class = shift;
my %args = @_;