http://qs1969.pair.com?node_id=1062947


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, );