in reply to Re^6: Shouldn't references be readonly?
in thread Shouldn't LITERAL references be readonly? (updated)
you are aware that "constructor" isn't even mentioned in your definition? ;)
Yes, that is what I misremembered: perlref calls them "composers" but they act just like constructors. :-)
Calling it a "constructor" is a hint that it does something at runtime, instead of being a literal embedded into the program text. That its return value is mutable should not be a surprise.
|
---|
In Section
Seekers of Perl Wisdom