Data::Type::Docs::FAQ - frequently asked questions
FAQs are the things asked by users.
Visit Data::Type::Docs::Howto "How to add new types" ?
It depends. Since Data::Type is expandable via separate modules, you should try a search.cpan.org (as always) before starting to write your own.
Data::Type
datatype
Data::Type verifies a data- or valuetype with a testing procedure. It is similar to the Test module. The test program has one or multiple stages (which are called facets). If all facets pass sucessfully, a datatype is programatically classified as "valid". This generic approach leads to reuse of facets and enough transparence to create instructive error reports.
A fictive procedure for 'SOMETHING' sub test { ... ok( 1, Data::Type::Facet::max( 20 ) ); ok( 1, Data::Type::Facet::min( 4 ) ); ... }
Minimal requirements are a package in the Data::Type::Object:: namespace and some methods. Refer to the Data::Type::Docs::RFC for the exact API.
Data::Type::Object::
See Data::Type::Docs::FOP to get an extracted list of problems occured or by intention (by the author) can statistically occur quite often. Also visit the Data::Type::Docs::Howto pod for a collection of procedures.
Sourceforge http://sf.net/projects/datatype is hosting a project dedicated to this module. And I enjoy receiving your comments/suggestion/reports also via http://rt.cpan.org or http://testers.cpan.org.
Murat Uenalan, <muenalan@cpan.org>
To install Data::Type, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Type
CPAN shell
perl -MCPAN -e shell install Data::Type
For more information on module installation, please visit the detailed CPAN module installation guide.