1 The Class::Contract module implements strong encapsulation, static
2 inheritance, and design-by-contract condition checking for
3 object-oriented Perl. The module provides a declarative syntax for
4 attribute, method, constructor, and destructor definitions at both the
5 object and class level. Pre-conditions, post-conditions, and class
6 invariants are also fully supported.
8 WWW: http://search.cpan.org/dist/Class-Contract/