develooper Front page | perl.perl5.porters | Postings from July 2005

Re: [perl #36521] perlbug AutoReply: Deep recursion on subroutine "CGI::Carp::warn"

Thread Next
From:
Dirk Mueller
Date:
July 13, 2005 03:43
Subject:
Re: [perl #36521] perlbug AutoReply: Deep recursion on subroutine "CGI::Carp::warn"
Message ID:
200507130351.39341.dmuell@gmx.net
On Wednesday 13 July 2005 00:11, perlbug-followup@perl.org wrote:

>   perlbug-followup@perl.org

And this patch fixes it: 

--- lib/diagnostics.pm
+++ lib/diagnostics.pm
@@ -503,7 +503,7 @@
            print STDERR $warning;
        }
     } 
-    goto &$oldwarn if defined $oldwarn and $oldwarn and $oldwarn ne 
\&warn_trap;
+    &$oldwarn if defined $oldwarn and $oldwarn and $oldwarn ne \&warn_trap;
 };
 
 sub death_trap {



Dirk

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About