and some constants are mentioned in multiple tags).
Should this logic be in Exporter::Heavy?
p4raw-id: //depot/perl@26459
our(@ISA, %EXPORT_TAGS, @EXPORT_OK, $AUTOLOAD, %SIGRT) = ();
-our $VERSION = "1.09";
+our $VERSION = "1.10";
use AutoLoader;
);
# Exporter::export_tags();
-for (values %EXPORT_TAGS) {
- push @EXPORT, @$_;
+{
+ # De-duplicate the export list:
+ my %seen;
+ for (values %EXPORT_TAGS) {
+ push @EXPORT, grep {!$seen{$_}++} @$_;
+ }
}
@EXPORT_OK = qw(