Uh, yeah, these errors are all from duplicate methods...I&#39;m good. There must be some Devel:: module to help me dump some more information to identify the cause of these errors...any suggestions?<div><br clear="all">Regards,<br>

Sean<br><br><br>
<br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 9:57 AM, Sean Blanton <span dir="ltr">&lt;<a href="mailto:sean@blanton.com">sean@blanton.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

The errors all come from use and require statements, so they are compile errors, not runtime. Also getting this one:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div>Undefined subroutine &amp;Package::DeprecationManager::_HASH called at /usr/local/share/perl5/Package/DeprecationManager.pm line 18.</div></div><div><div>BEGIN failed--compilation aborted at /usr/local/lib64/perl5/Moose/Deprecated.pm line 22.</div>


</div><div><div>Compilation failed in require at /usr/local/lib64/perl5/Moose.pm line 14.</div></div><div><div>BEGIN failed--compilation aborted at /usr/local/lib64/perl5/Moose.pm line 14.</div></div><div><div>Compilation failed in require at &lt;path&gt;/&lt;class&gt; line 2.</div>


</div></blockquote><div><br></div><div>In this, the line 2 at &lt;path&gt;/&lt;class&gt; is &#39;use Moose;&#39;</div><div><br clear="all">Regards,<br><font color="#888888">Sean</font><div><div></div><div class="h5"><br>

<br><br>
<br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 9:52 AM, Sean Blanton <span dir="ltr">&lt;<a href="mailto:sean@blanton.com" target="_blank">sean@blanton.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>Hi All,</div><div><br></div><div>I just upgraded from perl 5.10 to v5.12.2 (Fedora 13-&gt;14) and am getting the following errors in several classes. I&#39;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>&gt; Undefined subroutine &amp;Class::MOP::Mixin::HasMethods::wrap called at /usr/local/lib64/perl5/Class/MOP/Mixin/HasMethods.pm line 165.</div></div><div><br></div><div><div>
&gt; Undefined subroutine &amp;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 &amp;&amp; length $method_name )</div><div>        || confess &quot;You must define a method name&quot;;</div><div>



<br></div><div>****-&gt;    my $removed_method = delete $self-&gt;_full_method_map-&gt;{$method_name};</div><div><br></div><div>    $self-&gt;remove_package_symbol(</div><div>        { sigil =&gt; &#39;&amp;&#39;, type =&gt; &#39;CODE&#39;, name =&gt; $method_name } );</div>



</div><div><br></div><div><div>--------------</div><div></div></div><div><br></div><div>I&#39;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 -&gt; 1.17</div><div>Moose::Meta::Role 0.99 -&gt; 1.17</div><div>Class::MOP 0.98 -&gt; 1.10</div><div>Class::MOP::Mixin::HasMethods 0.98 -&gt; 1.10</div>



<div><br></div><div>In one case, I found by removing a method in a role that was overriden by it&#39;s consuming class cleared the ::body method error, but I haven&#39;t found common traits with other classes having the same error.</div>



<div><br></div><br clear="all">Regards,<br><font color="#888888">Sean<br><br><br>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br></div>