summaryrefslogtreecommitdiffstats
path: root/lib/Package/Stash/PP.pm
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@debian.org>2014-09-21 11:58:51 +0300
committerJesse Luehrs <doy@tozt.net>2014-09-21 12:59:18 -0400
commit75c2df38ef4dd32445753354846356f8a058c298 (patch)
treedef8bef87e182c7d550ea7c66668dc2843d6ba8e /lib/Package/Stash/PP.pm
parent8d4e0e9504ebdf7f656c43873674c3e6d1419c44 (diff)
downloadpackage-stash-75c2df38ef4dd32445753354846356f8a058c298.tar.gz
package-stash-75c2df38ef4dd32445753354846356f8a058c298.zip
Fix a spurious warning under taint mode
Bug-Debian: https://bugs.debian.org/762334
Diffstat (limited to 'lib/Package/Stash/PP.pm')
-rw-r--r--lib/Package/Stash/PP.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Package/Stash/PP.pm b/lib/Package/Stash/PP.pm
index dee2125..fa8db40 100644
--- a/lib/Package/Stash/PP.pm
+++ b/lib/Package/Stash/PP.pm
@@ -193,6 +193,7 @@ sub add_symbol {
local *__ANON__:: = $namespace;
no strict 'refs';
no warnings 'void';
+ no warnings 'once';
*{"__ANON__::$name"};
}