<p><a href="https://github.com/haarg" class="user-mention">@haarg</a> actually it can even fail inexplicably on 5.8.9:</p>

<pre><code>perl -T -MMRO::Compat -e '
  {
    package Foo;
    use mro "c3";
    sub bar { shift-&gt;maybe::next::method }
  }

  my $class = "Foo" . substr($ENV{PATH},0,0);
  $class-&gt;isa("Baz");
  $class-&gt;bar
'
next::method/next::can/maybe::next::method cannot find enclosing method at /home/rabbit/perl5/perlbrew/perls/5.8.9/lib/site_perl/5.8.9/x86_64-linux-thread-multi/Class/C3/XS.pm line 66.
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/dbsrgits/dbix-class/commit/b090048f6d8bd2cba0bae8ea7ec26459dd20dca8#commitcomment-18271022">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AASeAghQh5bm9p_EwSoYqMtwp--78HX6ks5qWMlKgaJpZM4JMqe6">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAn7ivU02nfjiQRGUdfgFrwJpQKjNks5qWMlKgaJpZM4JMqe6.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/dbsrgits/dbix-class/commit/b090048f6d8bd2cba0bae8ea7ec26459dd20dca8#commitcomment-18271022"></link>
  <meta itemprop="name" content="View Commit"></meta>
</div>
<meta itemprop="description" content="View this Commit on GitHub"></meta>
</div>