Subject: | Moo breaks maxInclusive |
Moo 1.004002
Types::XSD::Lite 0.003
I've attached a script which should cause a validation failure. If run as is, it doesn't load Moo, and it fails:
% perl foo
Value "10" did not pass type constraint "NonNegativeInteger[maxInclusive=>"9"]" (in $_[0]) at foo line 24
When run with the environment variable USE_MOO set, it loads Moo and has two bites at the rotten apple; neither fails:
% USE_MOO=1 perl foo
%
So, loading Moo is doing something...
Subject: | foo |
Message body not shown because it is not plain text.