summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Granum <exodist7@gmail.com>2016-01-23 19:46:33 -0800
committerChad Granum <exodist7@gmail.com>2016-01-23 21:20:33 -0800
commit17d090b9e5dd791c88a0914b5ac2292951c47706 (patch)
tree68b4569eebc75826a05f7a4a552938126733d53c
parent1bda85db2ae394a511656fb351bae21f44731f2f (diff)
Fix support for non-exports listed in @EXPORT
-rw-r--r--Changes3
-rw-r--r--lib/Importer.pm4
2 files changed, 5 insertions, 2 deletions
diff --git a/Changes b/Changes
index 0237d6b..469919d 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
{{$NEXT}}
+ - Strip '&' from exporter_fail args
+ - Fix support for non-exports listed in @EXPORT (Grr CGI.pm)
+
0.006 2016-01-23 17:23:08-08:00 America/Los_Angeles
- Doc updates
diff --git a/lib/Importer.pm b/lib/Importer.pm
index 0ac974a..f2eeb69 100644
--- a/lib/Importer.pm
+++ b/lib/Importer.pm
@@ -2,7 +2,7 @@ package Importer;
use strict;
use warnings;
-our $VERSION = 0.006;
+our $VERSION = 0.007;
my %SIG_TO_SLOT = (
'&' => 'CODE',
@@ -348,7 +348,7 @@ sub reload_menu {
$sig eq '@' ? \@{$fqn} :
$sig eq '%' ? \%{$fqn} :
$sig eq '*' ? \*{$fqn} :
- die "This should not happen"
+ next
);
}