- from Changes
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
- Changes:
- Fixed a bug related to naming props and group props with the same name
- The properties defined with a group get initialized just once
- Some testing addition and rewrite
- from Changes
- WARNING: Deprecated the use of the group accessor in list context
when used to retrieve keys: see 'WARNING' POD section
- Added 'default' option to the Class::constr pragma plus tests
- Fixed the possibilty of setting twice the same property when copy => 1
- Minor changes in the constructor closure
- Added possibility to get a slice of values from groups accessors
- A few minor improvement and fixes in the groups closure (all the props exist,
the groups accessor uses always the props accessor if defined, etc)
- Added $_ aliasing for the post_process option
- A few minor POD changes and fixes