Class::Accessor::Lite is even better if you are using multiple inheritance