cpan Class-Prototyped 1.10

latest releases: 1.16, v1.16., 1.15...
19 years ago
  • Merlyn strongly suggested that I unify the behavior of new() for named
    classes and un-named objects. After much discussion, I concurred. This
    is a BACKWARDS INCOMPATIBLE change. Hopefully it will not affect too
    much code. In 1.01, calling new() on an un-named object was identical
    to calling Class::Prototyped->new(). In 1.10, calling new() on an
    un-named object ALSO adds 'class*' as a slot pointing to the original
    object. This also necessitated a change to clone.
  • Two new Class::Prototyped methods are added: clonePackage (a cross between
    clone and newPackage) and newCore (implements core object instantiation
    behavior). If you implement either method in any of your Class::Prototyped
    code, there will be problems!
  • Fixed a bug in Class::Prototyped::Mirror::Normal::new that affected
    superable calls to C::P objects following reflection on a non-C::P object
    blessed into a C::P class.

Don't miss a new Class-Prototyped release

NewReleases is sending notifications on new releases.