Perl doesn't have anything like that, and Perl 6 has some more exposure of "readonly" values. But that affects assignment to the container, not mutating of an object.
Does anyone here care? What do you think of const and keeping mutators separate from accessors, in general? Does anyone else miss that in other languages?
—JohnIn reply to const correctness by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |