Mu::Role(3pm) | User Contributed Perl Documentation | Mu::Role(3pm) |
Mu::Role - Moo::Role but with less typing
version 1.191300
use Mu::Role; ro "hro"; lazy hlazy => sub { 2 }; rwp "hrwp"; rw "hrw";
Mu imports both Moo::Role and MooX::ShortHas, making it even less work in typing and reading to set up a role.
Christian Walde <walde.christian@gmail.com>
Christian Walde has dedicated the work to the Commons by waiving all of his or her rights to the work worldwide under copyright law and all related or neighboring legal rights he or she had in the work, to the extent allowable by law.
Works under CC0 do not require attribution. When citing the work, you should not imply endorsement by the author.
2022-12-04 | perl v5.36.0 |