From e5939023a92913427d79e998c1061298d1744309 Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 15 Feb 2010 16:34:42 +0000 Subject: [PATCH] lexical instead of dynamic warnings --- htetc/handler.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htetc/handler.pl b/htetc/handler.pl index af7ac7d5e..94377cf34 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -77,7 +77,7 @@ sub handler #we don't want the RT error handlers under FS { - local $^W = 0; + no warnings 'uninitialized'; undef($SIG{__WARN__}) if defined($SIG{__WARN__}); undef($SIG{__DIE__}) if defined($SIG{__DIE__} ); } -- 2.11.0