From: Jesse Luehrs Date: Sun, 6 May 2012 18:02:22 +0000 (-0500) Subject: keep the same return value init_meta had previously X-Git-Tag: 2.0800~80 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b7f393bbd3d74041818354cc9321d0b9083cdcac;p=gitmo%2FMoose.git keep the same return value init_meta had previously --- diff --git a/lib/Moose/Exporter.pm b/lib/Moose/Exporter.pm index b32f302..fc3a495 100644 --- a/lib/Moose/Exporter.pm +++ b/lib/Moose/Exporter.pm @@ -737,7 +737,11 @@ sub _make_init_meta { return unless %new_style_roles || %old_style_roles || %base_class_roles; - return sub { }; + return sub { + shift; + my %opts = @_; + $meta_lookup->($opts{for_class}); + }; } sub import {