package Foo; use Moose; has 'bar' => (reader => 'get_bar', writer => 'set_bar');