Attribute definition syntax
Visibility
Most common are "read/write" and "read-only"
By default, attributes have no accessors
Add them with "is"
is => 'ro', # read value with attribute name
is => 'rw', # read/write value (like Class::Accessor)
< < Previous
|
Index
|
Next >>