projects
/
gitmo/MooseX-Dependent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
updated makefile requirements and got the basics of coercions in place
[gitmo/MooseX-Dependent.git]
/
lib
/
MooseX
/
Dependent.pm
diff --git
a/lib/MooseX/Dependent.pm
b/lib/MooseX/Dependent.pm
index
9ab310e
..
18f6e52
100644
(file)
--- a/
lib/MooseX/Dependent.pm
+++ b/
lib/MooseX/Dependent.pm
@@
-87,6
+87,8
@@
and set the dependency target to the value of another attribute or method:
has people => (is=>'ro', isa=>Set, required=>1);
has id => (is=>'ro', dependent_isa=>UniqueID, required=>1);
+
+ TODO notes, coerce=>1 should coerce both check value and constraining value
Please see the test cases for more examples.