summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2010-02-15 16:35:30 +0000
committerjeff <jeff>2010-02-15 16:35:30 +0000
commitff59aec619886357bb6e6fde08a9bab4454536eb (patch)
tree9fc016ba6ecc06dd230d8c0b9393d642b8abb539
parent2a300c4d2932eb46503b76b47fc033d954b40e72 (diff)
lexical instead of dynamic warnings
-rw-r--r--htetc/handler.pl2
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__} );
}