diff options
author | franck cuny <franck@lumberjaph.net> | 2011-02-14 22:16:46 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-02-14 22:16:46 +0100 |
commit | 8838298d3871465f46dea4d705f111c73d79ba4b (patch) | |
tree | 5d10fe7a2c1839dd53e79d36a4583c5bd0389284 | |
parent | add dist.ini (diff) | |
download | moosex-privacy-8838298d3871465f46dea4d705f111c73d79ba4b.tar.gz |
use new metarole API
-rw-r--r-- | lib/MooseX/Privacy.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MooseX/Privacy.pm b/lib/MooseX/Privacy.pm index 65270c8..479dd01 100644 --- a/lib/MooseX/Privacy.pm +++ b/lib/MooseX/Privacy.pm @@ -26,8 +26,8 @@ sub init_meta { Moose->init_meta(%options); Moose::Util::MetaRole::apply_metaroles( - for_class => $for, - metaclass_roles => [ 'MooseX::Privacy::Meta::Class', ], + for => $for, + class_metaroles => { class => [ 'MooseX::Privacy::Meta::Class', ] }, ); } |