diff options
author | jeff <jeff> | 2010-02-15 16:35:30 +0000 |
---|---|---|
committer | jeff <jeff> | 2010-02-15 16:35:30 +0000 |
commit | ff59aec619886357bb6e6fde08a9bab4454536eb (patch) | |
tree | 9fc016ba6ecc06dd230d8c0b9393d642b8abb539 | |
parent | 2a300c4d2932eb46503b76b47fc033d954b40e72 (diff) |
lexical instead of dynamic warnings
-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 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__} ); } |