in reply to Re: Re: Objects in PERL
in thread Objects in PERL

At that point they are not that complicated, so I dont think creating an OCCUPATION class to subclass off of would be necesary.

This is called using a Servant class, ie having one classes' attributes and members thrown into the master class, even though they should be in a seperate object. Generally it's best to avoid this, all you save is a little bit of performance at the expense of breaking your encapsulation.