This commit is contained in:
Ingy döt Net 2013-04-10 21:29:02 -07:00
parent 764da6cbbb
commit db842d013d
19005 changed files with 197040 additions and 7 deletions

View file

@ -0,0 +1,3 @@
package Animal;
#functions go here...
1;

View file

@ -0,0 +1,5 @@
package Dog;
use Animal;
@ISA = qw( Animal );
#functions go here...
1;

View file

@ -0,0 +1,5 @@
package Cat;
use Animal;
@ISA = qw( Animal );
#functions go here...
1;

View file

@ -0,0 +1,5 @@
package Lab;
use Dog;
@ISA = qw( Dog );
#functions go here...
1;

View file

@ -0,0 +1,5 @@
package Collie;
use Dog;
@ISA = qw( Dog );
#functions go here...
1;

View file

@ -0,0 +1,17 @@
use MooseX::Declare;
class Animal {
# methods go here...
}
class Dog extends Animal {
# methods go here...
}
class Cat extends Animal {
# methods go here...
}
class Lab extends Dog {
# methods go here...
}
class Collie extends Dog {
# methods go here...
}