package Foo; use Moose; has bar => (is => "ro", default => "whatever");