From: Jesse Luehrs Date: Tue, 15 Sep 2009 05:58:40 +0000 (-0500) Subject: Changes and docs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0ed17feacb8da33e6a85a896a80ecb9c70b7e88e;p=gitmo%2FMoose.git Changes and docs --- diff --git a/Changes b/Changes index 86403b6..6cdae0c 100644 --- a/Changes +++ b/Changes @@ -335,6 +335,11 @@ for, noteworthy changes. * Moose::Meta::Attribute::Native::Trait::Code - Fix passing arguments to code execute helpers. (doy) + * Moose::Exporter + - add an additional 'init_meta_params' option to setup_import_methods, + which takes a list of keys to look for in the import argument list, + and passes those key/value pairs into init_meta. (doy) + 0.92 Tue, Sep 22, 2009 * Moose::Util::TypeConstraints - added the match_on_type operator (Stevan) diff --git a/lib/Moose/Exporter.pm b/lib/Moose/Exporter.pm index 2672e41..42a7a57 100644 --- a/lib/Moose/Exporter.pm +++ b/lib/Moose/Exporter.pm @@ -703,6 +703,12 @@ can selectively override functions exported by another module. C also makes sure all these functions get removed when C is called. +=item * init_meta_params => [ ... ] + +This is a list of keys to search for in the import argument list. Any +keys which are found will be passed with their corresponding values +into C when it is called. + =back You can also provide parameters for C