On Sat Aug 16 17:35:01 2014, ETHER wrote:
Show quoted text> I'm not quite sure what's happening here yet - reporting for future
> investigation:
>
> When s/namespace::clean/namespace::autoclean/ in Object::ForkAware
> (version 0.002) and running tests, I get:
>
> Can't call method "can" on an undefined value at
> lib/Object/ForkAware.pm line 60.
This is a bug in Object::ForkAware, not namespace::autoclean. The existing Object::ForkAware has an isa/can that is broken when called on the class (at least for things that should return false). namespace::autoclean calls can on the class, which is a perfectly sensible thing to do.
I've filed a PR with a fix:
https://github.com/karenetheridge/Object-ForkAware/pull/1