This perl module supports data and value types. Out of the ordinary it supports parameterised types, like databases have i.e. VARCHAR(80). When you try to feed a typed variable against some odd data, this module explains what he would have expected.


http://datatype.sourceforge.net





Separate each tag with a space.

Release Date:

2003-09-12

Topic:

Operating System:

License:

Translations:

Intended Audience:

Programming Language:

Registered:

2003-01-14

Ratings and Reviews

Be the first to post a text review of Data::Type. Rate and review a project by clicking thumbs up or thumbs down in the right column.

Project Feed

  • Forum comment added

    posted by genyded123 859 days ago

  • Forum thread added

    posted by genyded123 859 days ago

  • File released: /CPAN/0.01.15/Data-Type-0.01.15.tar.gz

    posted 2342 days ago

  • Code committed

    muenalan committed patchset 2 of module perl to the Data::Type CVS repository, changing 69 files

    posted by muenalan 2342 days ago

  • Code committed

    muenalan committed patchset 1 of module perl to the Data::Type CVS repository, changing 69 files

    posted by muenalan 2342 days ago

  • CPAN 0.01.15 file released: Data-Type-0.01.15.tar.gz

    0.01.15 * verify now uses $_ per default, if only one argument is given. * matches() introduced as an alias for dverify(). It exported per default. * renamed matches() to is() * Added Locale::Maketext localization. - Accessible via $Data::Type::lh->maketext( ) - Served through Data::Type::L18N packages. [Note] In first line, this is for international error reports. This should help promptig ie. Webusers in front of an cgi-form. * Renamed everything from Type:: to Data::Type:: Filter:: to Data::Type::Filter:: Facet:: to Data::Type::Facet [Note] Now we don't pollute anyones namespace. Everything is beneath C<Data::Type>. * C<Data::Type::IType::UNIVERSAL> got C<alias()> method which returns the exported name of that type. * 'summary()' is the new name of 'testplan()' (which was 'complains()'). 'testplan' is removed from the export symbols and 'summary() was added instead * C<pass> and C<fail> renamed to C<ok> and C<nok> (more intuitive). * Renamed type "OS::PATH" export name to "PATH" * Removed 'alias()' method from IType::UNIVERSAL because export() does the same. * Renamed Data::Type::IType::UNIVERSAL to Data::Type::IType. * C<summary()> - now returns Data::Type::Entry objects instead of simple aref. - new usage: ( VALUE, ENTRY || [ ENTRY, ... ] ) * t/describe.t renamed to t/summary.t * removed C<nok()> - C<ok> now takes a bool argument if awaiting success/fail * Usage changed: C<verify( $value, $test )> C<dverify( $value, $test )> * Data::Type::Exception now has public C<catched> which holds the array of preceding exceptions which induced it. * @Data::Type::err holds the list of negative exceptions when C<dverify> alias C<is> fails. Syntactic sugar: unless( shift and is BIO::DNA ) { print Dumper \@Data::Type::err; } LOCALE - Types suffix the l18n language code: TYPE::DE for "de" (german). [Note] You would need an implicit Data::Type::L18N::de package. Only C<type export> names with a correspondent ::L18N::xx package should be allowed. This may not make sense when no localization is needed, but it will prevent consufion. - Data::Type::l18n_list() returns the implemented localized packages FACETS - move C<Data::Type::Facet::Proxy> to C<Data::Type::Facet> - now every Facet isa C<Data::Type::IFacet> (empty) API - renamed C<verify> to C<valid> - Data::Type::Facet::match has new usage - Data::Type->filter now wants list of [ 'filtername', @args ] - Data::Type::Object::*->test and Data::Type::Filter::*->test now doesnt take any args. Instead Data::Type::value is consequently used. - added C<isnt> as an alias for C<no is( TYPE )> - Relaced 'IType' with 'Interface', so we got 'Data::Type::Interface' instead of 'Data::Type::IType' Replaced 'IFacet' with 'Facet::Interface', so we now have 'Data::Type::Facet::Interface' REGEXPS - Every regex now lives in $Data::Type::Regex::registry - Dynamic regex generation via coderef support (with arguments). - Access via C<Data::Type::Regex->request( )>. This is a step further to facadeless gateway to Regexp::Common (Hopefully will save a lot maintainance time). moved Data::Type::Exception related objects to Data/Type/Exception.pm added the HTML type (thanks to HMTM::Lint)

    posted 2343 days ago

  • File released: /CPAN/Data-Type/Data-Type-0.01.05.tar.gz

    posted 2582 days ago

  • CPAN Data-Type file released: Data-Type-0.01.05.tar.gz

    First sf.net release.

    posted 2583 days ago

  • Code committed

    Anonymous committed patchset 1 of module CVSROOT to the Data::Type CVS repository, changing 11 files

    posted by nobody 2583 days ago

  • Forum thread added

    Anonymous created the Welcome to Developers forum thread

    posted by nobody 2583 days ago

Rate and Review

Be the first person to add a text review.

Would you recommend this project?






<

Related Projects

Data::Type Actions

Thanks for your rating!

Would you also like to write a review?





Skip Review

Thanks for your review!

Get credit for your review by logging in via OpenID. Click your account provider:

No Thanks