develooper Front page | perl.perl5.porters | Postings from September 2010

[perl #78082] Carp inadvertently autovivifies CORE::GLOBAL::caller

Thread Next
From:
Father Chrysostomos via RT
Date:
September 27, 2010 06:22
Subject:
[perl #78082] Carp inadvertently autovivifies CORE::GLOBAL::caller
Message ID:
rt-3.6.HEAD-24759-1285593755-1282.78082-15-0@perl.org
On Mon Sep 27 04:19:47 2010, arc wrote:
> As of bf236c8ee5b1b47df84e2e196fb90a43c6abd5a2, lib/Carp.pm contains a
> bare
> reference to \&CORE::GLOBAL::caller.  This autovivifies
> $CORE::GLOBAL::{caller}, which could be annoying in some situations.
> 
> The attached patch fixes that, and adds a test to prevent it happening
> again.

Thank you. I’ve applied this as 39d0b21ca5a59dba7652555c425faec6c7a5e653.


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