The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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