<div>Hi All,</div><div><br></div><div>I just upgraded from perl 5.10 to v5.12.2 (Fedora 13->14) and am getting the following errors in several classes. I'm hoping someone can give me some high level pointers before I go under the covers to examine the private parts.</div>
<div><br></div><div><div>> Undefined subroutine &Class::MOP::Mixin::HasMethods::wrap called at /usr/local/lib64/perl5/Class/MOP/Mixin/HasMethods.pm line 165.</div></div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
> Undefined subroutine &Class::MOP::Mixin::HasMethods::body called at /usr/local/lib64/perl5/Class/MOP/Mixin/HasMethods.pm line 165.</div></div><div><br></div><div>which occurs in:</div><div>--------------</div><div>
<div>sub remove_method {</div><div> my ( $self, $method_name ) = @_;</div><div> ( defined $method_name && length $method_name )</div><div> || confess "You must define a method name";</div><div>
<br></div><div>****-> my $removed_method = delete $self->_full_method_map->{$method_name};</div><div><br></div><div> $self->remove_package_symbol(</div><div> { sigil => '&', type => 'CODE', name => $method_name } );</div>
</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>--------------</div><div></div></div><div><br></div><div>I'm not getting a stack trace, which I feel must somehow be my fault, but I normally do get a stack trace. Eclipse tells me the parent class where the error occurs, but it can only give me the message that Perl produces above.</div>
<div><br></div><div>My Moose et al. versions went from:</div><div><br></div><div>Moose 0.99 -> 1.17</div><div>Moose::Meta::Role 0.99 -> 1.17</div><div>Class::MOP 0.98 -> 1.10</div><div>Class::MOP::Mixin::HasMethods 0.98 -> 1.10</div>
<div><br></div><div>In one case, I found by removing a method in a role that was overriden by it's consuming class cleared the ::body method error, but I haven't found common traits with other classes having the same error.<meta http-equiv="content-type" content="text/html; charset=utf-8"></div>
<div><br></div><br clear="all">Regards,<br>Sean<br><br><br>