summaryrefslogtreecommitdiff
path: root/htetc
diff options
context:
space:
mode:
authorjeff <jeff>2010-02-15 16:34:42 +0000
committerjeff <jeff>2010-02-15 16:34:42 +0000
commite5939023a92913427d79e998c1061298d1744309 (patch)
tree1106e148a174da4969e76ee01b73a8ef95c9ab77 /htetc
parent649b07e7ea35f96d814ba1b7020ab07268355ade (diff)
lexical instead of dynamic warnings
Diffstat (limited to 'htetc')
-rw-r--r--htetc/handler.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/htetc/handler.pl b/htetc/handler.pl
index af7ac7d..94377cf 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__} );
}