See Class::Contract. Works with existing Perl, although features similar to this are also proposed as being part of the Perl6 core.
-- Randal L. Schwartz, Perl hacker
In reply to RE: RE: Can perl be anything like Java?
by merlyn
in thread Can perl be anything like Java?
by pos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |