From: jeff Date: Mon, 15 Feb 2010 16:35:30 +0000 (+0000) Subject: lexical instead of dynamic warnings X-Git-Tag: freeside_1_9_2~69 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=ff59aec619886357bb6e6fde08a9bab4454536eb;p=freeside.git lexical instead of dynamic warnings --- 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__} ); }