package Testpool { use Moox; # r/w attr defined by string hasrw 'name default samantha'; # ro attr defined by string hasro 'height default 1777'; # ro attr defined by list hasro qw/weight default 99/; # r/w attr with default value hasrwd 'cheezburgers', 22; # ro attr with default value hasrod 'cats', 1; };