in reply to Re: Example from perlobj failing?
in thread Example from perlobj failing?

Or use the deprecated module base instead, which "just works" in this situation.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name