Subject: | Suggestion for documentation improvement regarding 'ro' attributes |
Date: | Sun, 2 Apr 2017 16:15:23 -0400 |
To: | bug-Moose [...] rt.cpan.org |
From: | Steve Dondley <sdondley [...] gmail.com> |
Currently, the documentation at
http://search.cpan.org/dist/Moose-2.0604/lib/Moose/Manual/Attributes.pod#Read-write_vs._read-only
states:
"When an attribute is ro, you may only read the current value of the
attribute."
However, when creating a new object, it is possible to write to a 'ro'
attribute. So I'd like to suggest the following change:
"When an attribute is ro, you may only read the current value of the
attribute. However, ro attributes may still be set when constructing a new
object."