projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge branch 'master' of git.moose.perl.org:Moose
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
TypeConstraint.pm
diff --git
a/lib/Moose/Meta/TypeConstraint.pm
b/lib/Moose/Meta/TypeConstraint.pm
index
3dd284a
..
791965f
100644
(file)
--- a/
lib/Moose/Meta/TypeConstraint.pm
+++ b/
lib/Moose/Meta/TypeConstraint.pm
@@
-7,6
+7,7
@@
use metaclass;
use overload '0+' => sub { refaddr(shift) }, # id an object
'""' => sub { shift->name }, # stringify to tc name
+ bool => sub { 1 },
fallback => 1;
use Scalar::Util qw(blessed refaddr);