Meerkat::Types - Moose types for Meerkat
use Meerkat::Types qw/:all/; has birthday => ( is => 'ro', isa => MeerkatDateTime, coerce => 1, );
This module defines Moose types and coercions.
It also sets up a MooseX::Storage type handler that 'collapses' to a DateTime object for storage by the MongoDB client, but 'expands' from an epoch value provided by the MongoDB client back into a Meerkat::DateTime object.
David Golden <firstname.lastname@example.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2013 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004