NAME
Data::Type::Doc::FOP - frequently occuring problems
DESCRIPTION
FAQs are only the things asked by users who have overcome their motivation-curve to post a question. FOPs are things the author extracts from these questions (and one day will solve) or suffers himself quite often, but is not willing to change it in near future.
FOPs
A function doesn't work. Somehow the try catch block isn't entered.
Bug dverify doesn't work. Somehow the try catch block isn't entered.
Solution Was silly ';' missing after catch block ! This is a FOP with the Error module syntax sugar.
Example
try { } catch Error with { }will fail ! Because the final ; is missing.
.. catch Error with { };is the correct syntax.
[Note] Visit the Error module pod.
Datatypes not exported. Misleading perl complains.
Example
Use of inherited AUTOLOAD for non-method Data::Type::VARCHAR() is deprecated at test.pl line 91, <DATA> line 4454. Can't locate class method 'Data::Type::VARCHAR' via package 'Data::Type' at test.pl line 91"Problem codegen() isnt generating the proxy sub and the datatype name isnt exported
Solution Check for typos or whether you loaded the required collections for that type.
use Data::Type qw(:all +BIO); shift; print "no dna" if isnt BIO::DNA;
CONTACT
Also http://sf.net/projects/datatype is hosting a projects dedicated to this module. And I enjoy receiving your comments/suggestion/reports also via http://rt.cpan.org or http://testers.cpan.org.
AUTHOR
Murat Uenalan, <muenalan@cpan.org>