in reply to Extra-lazy object oriented programming
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extra-lazy object oriented programming
by Anonymous Monk on Sep 09, 2014 at 00:39 UTC | |
by tobyink (Canon) on Sep 09, 2014 at 06:50 UTC |