use dog; my $sasha= new dog('cocker'); $sasha -> bark();