From ff59aec619886357bb6e6fde08a9bab4454536eb Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 15 Feb 2010 16:35:30 +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 e2289a977..78850c481 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.20.1