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

Changes for version 1.11 - 2001-03-05

  • Added support for clone method which may be used as you might imagine. To clone an object. Like ctor you may use clon to define initialization pre, impl, post, and invar clauses to execute when cloning an object.
  • Fixed problem working with objects which weren't created with Class::Contract. Problems arose when an object wasn't a scalar reference.
  • Fixed typo in _dcopy which broke deep copying of scalar references

Modules

Design-by-Contract OO in Perl.
Design-by-Contract OO in Perl.

Provides

in lib/Class/Contract.pm
in lib/Class/Contract.pm
in lib/Class/Contract.pm