]> git.p6c8.net - selfforum.git/commitdiff
CGI::Carp does not block eval errors all the time (bug?)
authorndparker <>
Thu, 26 Jul 2001 20:32:29 +0000 (20:32 +0000)
committerndparker <>
Thu, 26 Jul 2001 20:32:29 +0000 (20:32 +0000)
selfforum-cgi/shared/Posting/Cache.pm

index b940f35cb4a33de54bc23851f83aaac9d053ac8f..a6b3280653b651baa60bd653cfa0605a74d0005f 100644 (file)
@@ -25,7 +25,7 @@ use Lock;
 #
 sub VERSION {(q$Revision$ =~ /([\d.]+)\s*$/)[0] or '0.0'}
 
-my $O_BINARY = eval "O_BINARY";
+my $O_BINARY = eval "local $SIG{__DIE__}; O_BINARY";
 $O_BINARY = 0 if ($@);
 
 ### sub new ####################################################################

patrick-canterino.de