summaryrefslogtreecommitdiff
path: root/lib/Exporter
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Exporter')
-rw-r--r--lib/Exporter/Heavy.pm11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/Exporter/Heavy.pm b/lib/Exporter/Heavy.pm
index d1c4a10e51..3bdc4b4f20 100644
--- a/lib/Exporter/Heavy.pm
+++ b/lib/Exporter/Heavy.pm
@@ -215,11 +215,18 @@ sub _push_tags {
}
}
-
-sub require_version {
+sub heavy_require_version {
my($self, $wanted) = @_;
my $pkg = ref $self || $self;
return ${pkg}->VERSION($wanted);
}
+sub heavy_export_tags {
+ _push_tags((caller)[0], "EXPORT", \@_);
+}
+
+sub heavy_export_ok_tags {
+ _push_tags((caller)[0], "EXPORT_OK", \@_);
+}
+
1;