The Class::EHierarchy module is meant to be used as a base class which provides a few basic OO capabilities to its descendents. It provides automatic accessors for both properties and flags, clean destruction of contained objects, and a rudimentary event system based on flag registers.
Class::EHierarchy模块意在用作一个基础类,为它的子类提供一些基本的面向对象的能力。它提供了属性和标志的自动访问器,所包含对象的干净的析构,以及一个基于标志注册的原始事件系统。