From: Dave Rolsky Date: Sat, 17 Jul 2010 16:06:23 +0000 (-0500) Subject: Fix SYNOPSIS X-Git-Tag: v0.10~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-StrictConstructor.git;a=commitdiff_plain;h=48ad76217f8cdb8200d13379549a8e9ea024f6b4 Fix SYNOPSIS --- diff --git a/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm b/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm index 1dd2142..2ec5cf8 100644 --- a/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm +++ b/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm @@ -47,11 +47,13 @@ __END__ =head1 SYNOPSIS - Moose::Util::MetaRole::apply_metaclass_roles - ( for_class => $caller, - constructor_class_roles => - ['MooseX::StrictConstructor::Role::Meta::Method::Constructor'], - ); + Moose::Util::MetaRole::apply_metaroles( + for_class => $caller, + class => { + constructor => + ['MooseX::StrictConstructor::Role::Meta::Method::Constructor'], + }, + ); =head1 DESCRIPTION