package SpitTest; use base 'MethodSpit'; __PACKAGE__->methodspit( qw( cat ) ); __PACKAGE__->methodspit_depend( 'cat', { moose => 'bark' } ); sub new { bless { @_ }; } 1;