logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Badger::Data::Type::Class - metaprogramming module for data type classes

Author

       Andy Wardley <http://wardley.org/>

Description

       This module implements a subclass of Badger::Class for creating data types.

Import Hooks

       The following hooks can be specified when the module is imported via "use".  They correspond directly to
       the methods documented above.

   typesizefacets

Methods

       This module implements the following methods in addition to those inherited from the Badger::Class base
       class.

   type($type)
       This method implements the "type" import hook for specifying the base data type.

   size($size)
       This method implements the "type" import hook for specifying the data size.  NOTE: subject to change

   facets($facets)
       This method implements the "facets" import hook for specifying validation facets for a data type.

Name

       Badger::Data::Type::Class - metaprogramming module for data type classes

See Also

       Badger::Base, Badger::Data::Facet.

perl v5.36.0                                       2023-08-28                     Badger::Data::Type::Class(3pm)

Synopsis

See Also