export_to_level()
Michael G. Schwern [Thu, 19 Aug 1999 21:30:01 +0000 (17:30 -0400)]
To: perl5-porters@perl.org
Message-ID: <19990819213001.A22512@athens.aocn.com>

p4raw-id: //depot/cfgperl@4181

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, @_);
 }