You might like this:
package Foo { use Moo; has [qw/ foo bar baz /], is => "ro"; has [qw/ quuux xyzzy /], is => "rw"; }
Also take a look at Moose::Tiny which could easily be ported to Moo.
In reply to Re: Extra-lazy object oriented programming
by tobyink
in thread Extra-lazy object oriented programming
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |