+ - Fix _concrete_methods_of returning non-CODE entries
+
1.002005 - 2013-02-01
- complain loudly if Class::Method::Modifiers is too old (and skip tests)
- don't use $_ as loop variable when calling arbitrary code
map {
my $code = *{$stash->{$_}}{CODE};
# rely on the '' key we added in import for "no code here"
- exists $not_methods->{$code||''} ? () : ($_ => $code)
+ ( ! $code or exists $not_methods->{$code||''} ) ? () : ($_ => $code)
} grep !ref($stash->{$_}), keys %$stash
};
}