X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FRole.pm;h=4d2bd67ac2817cded32da3a9652fcfb81bd9263e;hb=3a8c6c1fcff7307013edd7bb79dda50d248daae2;hp=aae14a982cf134fb58680e64003c1b10c94e467f;hpb=1ccc7f8ae945081bebf1ad702656b692d18a9e82;p=gitmo%2FMoose.git diff --git a/lib/Moose/Role.pm b/lib/Moose/Role.pm index aae14a9..4d2bd67 100644 --- a/lib/Moose/Role.pm +++ b/lib/Moose/Role.pm @@ -106,7 +106,7 @@ sub augment { croak "Moose::Role cannot support 'augment'"; } -my $exporter = Moose::Exporter->build_import_methods( +my $exporter = Moose::Exporter->setup_import_methods( with_caller => [ qw( with requires excludes has before after around override make_immutable ) ], @@ -227,7 +227,7 @@ The C method sets up the metaclass object for the role specified by C. It also injects a a C accessor into the role so you can get at this object. -The default metaclass is L. You can specify an +The default metaclass is L. You can specify an alternate metaclass with the C parameter. =head1 CAVEATS