From c45f9af19af097df70e79132bbed4adb70fb2837 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 26 May 2011 07:28:13 -0400 Subject: [PATCH] Suppress "Subroutine new redefined at Crypt/Monkeysphere/MSVA.pm line 81." Following the suggestion given by `use diagnostics;`: (W redefine) You redefined a subroutine. To suppress this warning, say { no warnings 'redefine'; eval "sub name { ... }"; } --- Crypt/Monkeysphere/MSVA.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Crypt/Monkeysphere/MSVA.pm b/Crypt/Monkeysphere/MSVA.pm index 6442fbb..c1e731d 100755 --- a/Crypt/Monkeysphere/MSVA.pm +++ b/Crypt/Monkeysphere/MSVA.pm @@ -78,6 +78,7 @@ return $logger->log(@_); }; + no warnings 'redefine'; sub new { my $class = shift; -- 2.26.2