On 15.2.2011 15:04, Stevan Little wrote:
Sorry, this feature never really got properly documented, but patches are always welcome, and doc patches are especially welcome.
What you want to do is to look at the methods listed here:

http://search.cpan.org/~bobtfish/MooseX-Storage-0.29/lib/MooseX/Storage/Engine.pm#Type_Constraint_Handlers

And take a look at this test:

http://cpansearch.perl.org/src/BOBTFISH/MooseX-Storage-0.29/t/006_w_custom_type_handlers.t

You will need to write a custom inflate/deflate routine for any type that 
MooseX::Storage cannot recognize, which is basically anything that is not a 
Moose class or a native Perl data structure.

Thanks Stevan,

this can get me started.

Regards,
Jiri



Reply via email to