Changes for version 1.0 - 2000-09-25
- Allow caller to declare subs that override access methods before they are defined. This helps with coding.
- Fixed "use Class::Struct::FIELDS <implicit caller>"; the import had failed to erase the interposing stack frame, so &struct guessed wrong at the package to construct.
- Test all combinations of arguments for importing.
- Differentiate "struct CLASS, LIST" case from "struct LIST" (implicit CLASS) since one has an odd, the other an even number of arguments. Document the change.
- Cleaned up diagnostics and their documentation.
- Fixed bug in UNIVERSAL::isa replacement where the sub failed for blessed objects, but worked for package names.
- Support "hidden" member access as helper for user overrides.
- EXPERIMENTAL: tied arrays and arrays whose elements must be IS-A certain packages. THIS IS AN UNDOCUMENTED FEATURE, AND MAY BE REMOVED IN THE NEXT RELEASE (or made documented and supported).
Modules
Combine Class::Struct, base and fields