Skip Menu |
 

This queue is for tickets about the Class-Method-Modifiers-Fast CPAN distribution.

Report information
The Basics
Id: 43167
Status: resolved
Priority: 0/
Queue: Class-Method-Modifiers-Fast

People
Owner: Nobody in particular
Requestors: rt.cpan [...] sartak.org
Cc:
AdminCc:

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



Subject: Method modifiers affect all classes in the whole inheritance tree
Download (untitled) / with headers
text/plain 199b
Hi ććŸć®, This was reported against Mouse but I'm pretty sure it's a Class::Method::Modifiers::Fast bug. Could you look into it? https://rt.cpan.org/Ticket/Display.html?id=42992 Thanks, Shawn
Download (untitled) / with headers
text/plain 520b
I've not actually tested this, but looking at the code I suspect that Mouse's problem arises because _install_modifier is getting $hit from $into->can($name) instead of \&$qualified (as below). sub _install_modifier { my $into = shift; my $type = shift; my $code = pop; my @names = @_; for my $name (@names) { my $hit = $into->can($name) or confess "The method '$name' is not found in the inheritance hierarchy for class $into"; my $qualified = $into.'::'.$name;


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.