Subject: | Prototype mismatch: sub Mouse::Util::get_linear_isa ($;$) vs none at Mouse/Util.pm line 131 |
in Mouse::Utils, there is a check for mro, which is in perl 5.10, but
not in earlier perls, using 'if (eval { require mro })' this in perl
5.8.x returns true and as result attempts to assign get_linear_isa($;$)
to \&mro::get_linear_isa which does not exists on perl 5.8.x, throwing
the warning in the bug, which means that usage of
Mouse::Util::get_linear_isa is using an undef sub.
Changing the check to "if (eval { require 'mro' })" resolves this issue.