Hi,
The fields module on CPAN doesnt cooperate well with the JSON::XS module. So i need to find an alternative that prevents developers from setting a non-defined attribute on a blessed object.
A user should not be able to set $obj->{asdf} unless asdf is specified as an attribute.
I thought Moose \ Mouse provided such functionallity, but it turns out it doesnt.
Anyone have any suggestions on how to achive such functionallity?
In reply to fields alternative? by bannaN
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |