The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.10

  • 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.

Documentation

Modules

Fast prototype-based OO programming in Perl

Provides

in lib/Class/Prototyped.pm
in lib/Class/Prototyped/Graph.pm
in lib/Class/Prototyped.pm
in lib/Class/Prototyped.pm
in lib/Class/Prototyped.pm
in lib/Class/Prototyped.pm
in lib/Class/Prototyped.pm
in lib/Class/Prototyped.pm