Help for this page
package Animal; #parent class, in file lib/Animal.pm sub new { ... $self->output_sound("khro"); } 1;
use Animal::Dog::Sheepdog; my $helper = Animal::Dog::Sheepdog->new(); ... #Once you have an instance, you can call it's methods by this way: $helper->sound;