Hi,

I'm trying to create a Date type, and one of the coercions I wanted
was from a DateTime object. I can't get it to work.

I've uploaded a minimal set of perl files (incl. tests and test
output) to reproduce the problem:

http://gist.github.com/443949

git clone git://gist.github.com/443949.git gist-443949
cd gist-443949
prove -v ./coercions.t

All the coercions from Int, Str, and HashRef work, but not the DateTime.

Any suggestion on how to go about this?

Thanks,
-- 
Pedro Melo
http://www.simplicidade.org/
xmpp:m...@simplicidade.org
mailto:m...@simplicidade.org

Reply via email to