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.0602~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e34f688e6df6d393fb5d2aa3ef7bdf5ebc684b7a;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 {