From 6f34ba8bd5e69ee61e0ff53578eb1f2a3563cf7b Mon Sep 17 00:00:00 2001 From: "ian%hixie.ch" Date: Sat, 15 Mar 2003 15:07:34 +0000 Subject: [PATCH] disabling a signal handler isn't done by using undef --- webtools/PLIF/PLIF/Exception.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/PLIF/PLIF/Exception.pm b/webtools/PLIF/PLIF/Exception.pm index 4b0f3413c481..854d7feefcab 100644 --- a/webtools/PLIF/PLIF/Exception.pm +++ b/webtools/PLIF/PLIF/Exception.pm @@ -190,7 +190,7 @@ sub report { my($exception, @data) = @_; syntaxError "Syntax error in \"report\": \"$exception\" is not a PLIF::Exception class", 1 unless UNIVERSAL::isa($exception, __PACKAGE__); $exception = $exception->init(@data); - local $SIG{__WARN__} = undef; # don't want this warning going through our processor + local $SIG{__WARN__} = 'DEFAULT'; # don't want this warning going through our processor warn $exception; return $exception; }