Subject: | The example in the perldoc doesn't work for xs:decimal |
perl 5.8.8, Centos 5.3 v 0.02 and
perl 5.14.2 Fedora 16 v 0.02
Simplifying the example in the perldoc to :
my $object = My::Class->new(
decimal => 20.12,
);
Gives:
Attribute (decimal) does not pass the type constraint because:
Validation failed for 'xs:decimal' with value 20.12 ...
I tried it on two systems and got the same result. I had a walk through
the code, but got lost in the thing that is Moose.