projects
/
gitmo/MooseX-Types.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
371efa0
)
added fallback to overloading
John Napiorkowski [Wed, 22 Oct 2008 20:02:34 +0000 (20:02 +0000)]
lib/MooseX/Types/TypeDecorator.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/Types/TypeDecorator.pm
b/lib/MooseX/Types/TypeDecorator.pm
index
3d74d30
..
31dd3fd
100644
(file)
--- a/
lib/MooseX/Types/TypeDecorator.pm
+++ b/
lib/MooseX/Types/TypeDecorator.pm
@@
-22,6
+22,8
@@
use overload(
my $union = Moose::Meta::TypeConstraint::Union->new(type_constraints=>\@tc);
return Moose::Util::TypeConstraints::register_type_constraint($union);
},
+ fallback => 1,
+
);