diff options
author | jeff <jeff> | 2010-02-15 16:34:42 +0000 |
---|---|---|
committer | jeff <jeff> | 2010-02-15 16:34:42 +0000 |
commit | e5939023a92913427d79e998c1061298d1744309 (patch) | |
tree | 1106e148a174da4969e76ee01b73a8ef95c9ab77 /htetc | |
parent | 649b07e7ea35f96d814ba1b7020ab07268355ade (diff) |
lexical instead of dynamic warnings
Diffstat (limited to 'htetc')
-rw-r--r-- | htetc/handler.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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__} ); } |