Permalink
Browse files

Merge pull request #14 from nigelm/suppress_once_warnings

Suppress “once” warnings from exporter
  • Loading branch information...
2 parents 9d5b358 + db3f84e commit 9f070aaf758283ec0890bcd6fd5acb398c21f834 @abw committed on GitHub Jul 17, 2017
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Badger/Exporter.pm
View
@@ -378,6 +378,8 @@ sub export {
sub exportables {
my $class = shift;
no strict REFS;
+ no warnings ONCE;
+
my $cache = ${ $class.PKG.EXPORTABLES } ||= do {
my ($pkg, $symbols, %done, @all, %any, %tags, %hooks, @fails, @before, @after);
my @pending = ($class);

0 comments on commit 9f070aa

Please sign in to comment.