summaryrefslogtreecommitdiff
path: root/lib/Exporter
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Exporter')
-rw-r--r--lib/Exporter/Heavy.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Exporter/Heavy.pm b/lib/Exporter/Heavy.pm
index f049e72ea9..91ad61322b 100644
--- a/lib/Exporter/Heavy.pm
+++ b/lib/Exporter/Heavy.pm
@@ -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, @_);
}