On Wed Aug 29 07:01:29 2012, CHIPS wrote:
Show quoted text>
> What's the right thing to do in that case? Leave &ATTR alone?
I'm not sure what's going wrong. The error message is,
Error: Invalid HASH attribute: ATTR() at
./CLI-Startup/blib/lib/CLI/Startup.pm line 238
I'm thinking that namespace::sweep is sweeping the sub
MODIFY_HASH_ATTRIBUTES(), which is causing attributes not to be
processed correctly. It gets shoved into my class's namespace by
Class::Std::import() as a monkey patch.
When I add MODIFY_HASH_ATTRIBUTES and MODIFY_CODE_ATTRIBUTES to %keep in
a local copy of sweep.pm, my tests all pass. That's obviously not the
right fix, but it suggests what the problem is.