summaryrefslogtreecommitdiff
path: root/lib/Parse
diff options
context:
space:
mode:
authorKenichi Ishigaki <ishigaki@cpan.org>2014-10-10 15:21:46 +0900
committerKenichi Ishigaki <ishigaki@cpan.org>2014-10-10 15:21:46 +0900
commit9951709960ca6284eb7d0cab0921faa474c0d415 (patch)
tree5a369a72748656739ff7c8c2d4f55f51023a0334 /lib/Parse
parent57904d1859199c2887ad0bb882d44118ef8fca53 (diff)
use default namespace to suppress a warning on UNIVERSAL::VERSION redefinition
- Safe.pm has an internal 'Erase' flag and doesn't erase stuff it added if an explicit namespace is passed to new()
Diffstat (limited to 'lib/Parse')
-rw-r--r--lib/Parse/PMFile.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/PMFile.pm b/lib/Parse/PMFile.pm
index fca6956..41eaf8e 100644
--- a/lib/Parse/PMFile.pm
+++ b/lib/Parse/PMFile.pm
@@ -197,7 +197,7 @@ sub _parse_version {
} else {
# XXX Limit Resources too
- my($comp) = Safe->new("_pause::mldistwatch");
+ my($comp) = Safe->new;
my $eval = qq{
local(\$^W) = 0;
Parse::PMFile::_parse_version_safely("$pmcp");