sub boo { 'BarClass::boo' }
sub foo { 'BarClass::foo' } # << the role overrides this ...
- make_immutable(debug => 0);
+ metaclass->make_immutable(debug => 0);
}{
package FooClass;
sub goo { 'FooClass::goo' } # << overrides the one from the role ...
- make_immutable(debug => 0);
+ metaclass->make_immutable(debug => 0);
}{
package FooBarClass;