Subject: | C::BM does not accept false defaults |
As of 0.12, Class::BuildMethods does not allow default values to be
false. Attempting to use 0 or "" as a default value results in a default
value of undef. This is caused by simple truth tests on
$default_for{$method}, rather an exists-based tests.
This can be fixed by using exists on lines 164 and 192 of
lib/Class/BuildMethods.pm
Thanks,
Collin Winter