Re: making variables or containers read-only

2001-06-21 Thread John Porter
David L. Nicol wrote: > "seal" has been suggested. > ... > As for read-only being an attribute, if attributes are compiler hints, how > do we set something to be read-only then? And we can't unseal a r-o item > without making a copy of it. Pardon me, but why the fsck is so much time and energy

making variables or containers read-only

2001-06-21 Thread David L. Nicol
"Mark J. Reed" wrote: > If I wanted to make a variable read-only, I would expect to do it > by setting the read-only attribute on that variable, which I would > further expect to do the same way I would set any other attribute at > any other time. Orthogonality has its good points, even in Perl;