package Article; use Moose; has 'title' => (is => 'rw', isa => 'Str'); has 'body' => (is => 'rw', isa => 'Str');