__PACKAGE__->no_monkey_business; # no new methods/method signatures can happen now. # or perhaps use static_methods qw( MyClass ); #compile this class with only explicitly declared methods allowed.