From: Brad Bowman <bsb@strategicdata.com.au> Date: Wed, 28 Sep 2011 01:27:43 +0000 (+1000) Subject: Alter with_meta description in Extending::Recipe4 X-Git-Tag: 2.0301~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=47820b5cdd81bbfbe82911f48db5f353490354df;p=gitmo%2FMoose.git Alter with_meta description in Extending::Recipe4 The package name being the first argument seems misleading based on the description of with_meta in the Moose::Exporter documentation. --- diff --git a/lib/Moose/Cookbook/Extending/Recipe4.pod b/lib/Moose/Cookbook/Extending/Recipe4.pod index d7af9a1..2ae476c 100644 --- a/lib/Moose/Cookbook/Extending/Recipe4.pod +++ b/lib/Moose/Cookbook/Extending/Recipe4.pod @@ -49,8 +49,8 @@ replaced with C<no MyApp::Mooseish>. The C<with_meta> parameter specifies a list of functions that should be wrapped before exporting. The wrapper simply ensures that the -importing package name is the first argument to the function, so we -can do C<S<my $caller = shift;>>. +importing package's appropriate metaclass object is the first argument +to the function, so we can do C<S<my $meta = shift;>>. See the L<Moose::Exporter> docs for more details on its API.