Data-Type
view release on metacpan or search on metacpan
Option to apply codefilter to translate
my VARCHAR(80) $e, $e2, $ex;
to
typ VARCHAR(80), \( my $e, $e2, $ex );
for mimicing a "builtin" type support via the tie interface.
}
comment
{
aware conflicts with "use types;"
}
comment
{
contact Arthur bergman if C<Data::Type> could marry the C<types> pragma.
}
todo
{
delayed loading of type dependencies (modules) first time the type is used.
}
comment
{
There were this cut+autoload+eval modules on CPAN ?! Or use eval "use Module" unless $INC{Module};
}
done
{
implemented simple lazy loading of modules
}
todo
{
Api tests which use Class::Maker::Reflection to inspect packages
and validate if the abstract interface was correctly implemented.
}
todo
{
Use Pod::Select Pod::XML to generate the pod documentation of datatype/filters as an xml resource.
}
todo
{
Write an Data::Type->add( ) function which allows to easily add custom types.
->add( facets => qw(), interfaces => qw(), desc => , info => , usage => ...
}
todo
{
Eliminate tricks flagged with "dirty"
}
todo(BUG)
{
->test of datatypes requires invocation of facets via Data::Type::ok for correct summary generation.
THIS MEANS: ALL ->test() DATATYPE METHODS MUST BE CLEANED FROM DIRECT C<throw Exception>. POSSIBLE
SOLUTION: EVERYTHING STUFFED IN FACETS:
OR ANY IDEA ?
}
comment
{
For now use of "private facets" is recommended.
}
todo(PRIO => 10)
{
Extend Data::Type::IType with a 'exporter' method which des the namespace/name resolution and takes
the part of exporting (which is bulkly done by C<codegen()>).
NOTE This will fix the $Data::Type::Collection::*::prefix."ID" parts from C<export> method.
}
comment
{
DEFINITION Collection datatypes should implement its own interface.
Example
package Data::Type::Collection::Bio;
package Data::Type::ICBio;
our @ISA = qw(Data::Type::IType);
sub prefix : method { 'BIO::' }
sub exported : method
{
map { __PACKAGE__->prefix().$_ } $this->export;
}
package Data::Type::Object::rna;
our @ISA = qw(Data::Type::ICBio);
}
todo
{
Create a type for strong passwords with Data::Password or whatever.
Articles:
See http://www.microsoft.com/security/articles/password.asp.
See http://www.perlmonks.org/index.pl?node_id=278236
http://www.perlmonks.org/index.pl?node_id=278798
Make sure you create a password that:
Is at least seven characters in length, and the longer the better.
Includes upper and lower case letters, numerals, symbols
Has at least one symbol character in the second through sixth position
Has at least four different characters in your password (no repeats)
Looks like a sequence of random letters and numbers
Make sure you:
Don't use ANY PART of your logon name for your password
Don't use any actual word or name in ANY language
( run in 1.881 second using v1.01-cache-2.11-cpan-39bf76dae61 )