* Reverend Chip <rev.chip@gmail.com> [2011-07-11 04:05]: > On 7/10/2011 5:15 PM, Father Chrysostomos wrote: > > I can’t speak for Perl 6, but making something read-only in > > Perl 5 just feels un-Perl-5-ish. > > Perl 5 has to evolve But when is that an actual necessity, and when is it merely an excuse for muddling through without careful thought? > and Perl 5 has always had some read-only things. Or are you > suggesting that ${\3.14159} should be mutable? :) Yes it should be. It isn’t now, because that would mutate the value in the optree, but that’s exposing an implementation detail that users should not have to care about. It should just yield a mutable value by whatever means necessary, and leave users not to have to care. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>Thread Previous | Thread Next