in reply to Re: Class confusion when testing using ref()
in thread Class confusion when testing using ref()

To clarify, our %param above sub new should be my %param inside sub new.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name