1 2 3 4 5 6 7 8 9 10 11 12 13
package Foo; use Moose; $::superclass_reloads++; has bar => (is => 'ro'); sub other_meth { } __PACKAGE__->meta->make_immutable; no Moose; 1;