projects
/
gitmo/Moo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix spurious 'once' warnings
[gitmo/Moo.git]
/
lib
/
Moo
/
_Utils.pm
diff --git
a/lib/Moo/_Utils.pm
b/lib/Moo/_Utils.pm
index
6fa6e24
..
5f62a98
100644
(file)
--- a/
lib/Moo/_Utils.pm
+++ b/
lib/Moo/_Utils.pm
@@
-1,5
+1,7
@@
package Moo::_Utils;
+no warnings 'once'; # guard against -w
+
sub _getglob { \*{$_[0]} }
sub _getstash { \%{"$_[0]::"} }