has foo => (is => "ro", default => { value => "whatever", when => "false" });