RECENT POSTS

P5-moosex-hasdefaults

May 26, 2018

Default “is” to “ro” or “rw” for all attributes

The module MooseXHasDefaultsRO defaults is to ro.

The module MooseXHasDefaultsRW defaults is to rw.

If you pass a specific value to any has’s is, that overrides the default. If you do not want an accessor, pass is => undef.

WWW http//search.cpan.org/dist/MooseX-HasDefaults/