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

Owner: Nobody in particular
Requestors: rt.cpan [...]

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? 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 infrastructure.

Please report any issues with to