FreeBSD.software
Home/devel/p5-Class-Contract

p5-Class-Contract

1.14_1devel

Design-by-Contract OO in Perl

The Class::Contract module implements strong encapsulation, static inheritance, and design-by-contract condition checking for object-oriented Perl. The module provides a declarative syntax for attribute, method, constructor, and destructor definitions at both the object and class level. Pre-conditions, post-conditions, and class invariants are also fully supported.

$pkg install p5-Class-Contract
metacpan.org/release/Class-Contract
Origin
devel/p5-Class-Contract
Size
121KiB
License
not specified
Maintainer
perl@FreeBSD.org
Dependencies
1 packages
Required by
0 packages

Dependencies (1)