Badger::Data::Type::Class - metaprogramming module for data type classes
This module implements a subclass of Badger::Class for creating data types.
This module implements the following methods in addition to those inherited from the Badger::Class base class.
This method implements the type import hook for specifying the base data type.
type
This method implements the type import hook for specifying the data size. NOTE: subject to change
This method implements the facets import hook for specifying validation facets for a data type.
facets
The following hooks can be specified when the module is imported via use. They correspond directly to the methods documented above.
use
Andy Wardley http://wardley.org/
Copyright (C) 2008-2012 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Badger::Base, Badger::Data::Facet.
To install Badger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Badger
CPAN shell
perl -MCPAN -e shell install Badger
For more information on module installation, please visit the detailed CPAN module installation guide.