Which is why it's wise to plan out your inheritance tree before you start coding. OOP is only as good as its design.package Beef; use vars qw(@ISA); #if you use strict @ISA = qw(Cow);
To be technical, Beef IS NOT a Cow - a Cow HAS Beef. Take a look into aggregation for alternatives to inheritance.
Jeff
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
F--F--F--F--F--F--F--F--
(the triplet paradiddle)
In reply to (jeffa) 3Re: normal objects?
by jeffa
in thread normal objects?
by mkmcconn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |