diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-01-16 09:32:09 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-01-16 12:51:43 -0800 |
commit | e2a78392aa527d2b816d2b7f838b62bd5477f12a (patch) | |
tree | e0b7963699e7bd835dcdf22e5cbf33ef277cdab7 /lib/overload.pm | |
parent | 9d51dcee04c4fd5387333086cac218960f210622 (diff) | |
download | perl-e2a78392aa527d2b816d2b7f838b62bd5477f12a.tar.gz |
Suppress ‘useless’ warning in overload.pm
Diffstat (limited to 'lib/overload.pm')
-rw-r--r-- | lib/overload.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/overload.pm b/lib/overload.pm index 8af28e547d..4892a31c4a 100644 --- a/lib/overload.pm +++ b/lib/overload.pm @@ -20,7 +20,7 @@ our $VERSION = '1.18'; special => 'nomethod fallback =', ); -%ops_seen; +my %ops_seen; for $category (keys %ops) { $ops_seen{$_}++ for (split /\s+/, $ops{$category}); } |