Re-integrate mainline
[p5sagit/p5-mst-13.2.git] / lib / Exporter / Heavy.pm
index f049e72..91ad613 100644 (file)
@@ -179,6 +179,8 @@ sub heavy_export_to_level
 {
       my $pkg = shift;
       my $level = shift;
+    # need to get rid of the first argument, its junk
+    shift;
       my $callpkg = caller($level);
       $pkg->export($callpkg, @_);
 }