use Class::MethodMaker [ scalar => [qw/ id article_id link url external active rank /], new => 'new', ];