Skip Menu |

This queue is for tickets about the MooX-ClassAttribute CPAN distribution.

Report information
The Basics
Id: 86828
Status: resolved
Priority: 0/
Queue: MooX-ClassAttribute

People
Owner: perl [...] toby.ink
Requestors: l.mai [...] web.de
Cc:
AdminCc:

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



Subject: Can't call method "isa" on an undefined value at MooX/CaptainHook.pm line 27
% perl -e 'use Class::MOP (); use MooX::CaptainHook (); {package Rectangle;} MooX::CaptainHook::is_role "Rectangle"' Can't call method "isa" on an undefined value at /home/mauke/usr/local/lib/perl5/site_perl/5.18.0/MooX/CaptainHook.pm line 27. Expected result: is_role() returns false and doesn't die.
drebolo has kindly supplied a fix... https://github.com/tobyink/p5-moox-classattribute/pull/1