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