Perl's contracts are usually maintained by agreement rather than by enforcement. Of course, you could encapsulate it (as another poster has suggested).# This is shared data! Do not change it!
In reply to Re: Representing Complex but Static Data in Perl
by Roy Johnson
in thread Representing Complex but Static Data in Perl
by cyocum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |