Help for this page
package Animal; use Carp qw(croak); ... # and in a separate file Animal/Dog.pm: package Animal::Dog; sub sounds { 'woof' };