in reply to Re^6: Moose Attribute Default Dependency
in thread Moose Attribute Default Dependency
You don't have to use builder, this also works:
has 'x' => ( is => 'rw', isa => 'Str', default => sub { my ($self) = @_; return $self->value; }, lazy => 1, );
In Section
Seekers of Perl Wisdom