Data::Object::ClassHas provides options for defining class attributes. WWW: https://metacpan.org/release/Data-Object-ClassHas