Changes for version 2.0

  • Added the Class::Error module and tests
  • Added the Class::Util module and tests
  • Minor change in the Class::constr closure to allow to stop the init subs by returning undef OR a Class::Error object
  • Added the 'skip_autoload' option to Class::constr pragma
  • You can also pass an HASH reference to the constr method
  • Changed the result returned by the group accessor in list context: old version returned the keys of the hash (deprecated since the 1.77) this version returns the whole hash

Modules

Delayed checking of object failure
Class utility functions
Pragma to implement constructor methods
Pragma to implement group of properties
Pragma to implement lvalue accessors with options
Pragma to implement group of properties
Pragma to implement lvalue accessors with options