Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
It would be useful if you could provide a small, self-contained script exhibiting the problem. The "type of argument to keys on reference" error message comes from doing keys($blessed_object). I can't see anywhere in MooseX::UndefTolerant that does this. (Or indeed anywhere where it uses keys() at all!) Are you sure that it's the created_date attribute which is causing the issue? Might it be something else?
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In reply to Re: Attribute does not pass Type Constraint
by tobyink
|
|