[libclass-virtual-perl] 04/06: Setting $^W is now unnecessary with `no warnings 'redefine'`

dom at earth.li dom at earth.li
Wed Aug 23 14:00:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

dom pushed a commit to tag v0.08
in repository libclass-virtual-perl.

commit a804e8c67312e019ab215f3ad963448aabc96a22
Author: Michael G. Schwern <schwern at pobox.com>
Date:   Sat Aug 6 13:02:42 2016 -0700

    Setting $^W is now unnecessary with `no warnings 'redefine'`
---
 lib/Class/Virtually/Abstract.pm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/Class/Virtually/Abstract.pm b/lib/Class/Virtually/Abstract.pm
index 2b6baca..b485e26 100644
--- a/lib/Class/Virtually/Abstract.pm
+++ b/lib/Class/Virtually/Abstract.pm
@@ -19,9 +19,6 @@ $VERSION = '0.07';
 
             my($has_orig_import) = 0;
 
-            # Shut up "subroutine import redefined"
-            local $^W = 0;
-
             if( defined &{$base_class.'::import'} ) {
                 # Divert the existing import method.
                 $has_orig_import = 1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-virtual-perl.git



More information about the Pkg-perl-cvs-commits mailing list