Skip Menu |

This queue is for tickets about the Object-ForkAware CPAN distribution.

Report information
The Basics
Id: 98096
Status: resolved
Priority: 0/
Queue: Object-ForkAware

People
Owner: ether [...] cpan.org
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.003



Subject: use in a module causes a bizarre error
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.
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
Fixed in 0.003.