Front page | perl.perl5.porters |
Postings from September 2010
[perl #78082] Carp inadvertently autovivifies CORE::GLOBAL::caller
Thread Previous
From:
Aaron Crane
Date:
September 27, 2010 04:52
Subject:
[perl #78082] Carp inadvertently autovivifies CORE::GLOBAL::caller
Message ID:
rt-3.6.HEAD-24759-1285586387-156.78082-75-0@perl.org
# New Ticket Created by Aaron Crane
# Please include the string: [perl #78082]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=78082 >
This is a bug report for perl from arc@cpan.org,
generated with the help of perlbug 1.39 running under perl 5.13.5.
-----------------------------------------------------------------
[Please describe your issue here]
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.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=low
module=Carp
---
Site configuration information for perl 5.13.5:
Configured by aaron at Fri Sep 24 09:48:49 BST 2010.
Summary of my perl5 (revision 5 version 13 subversion 5) configuration:
Commit id: 6481ebaf76d95c32fd79e91c0f39c17b16bd73e4
Platform:
osname=darwin, osvers=10.4.0, archname=darwin-2level
uname='darwin zzz 10.4.0 darwin kernel version 10.4.0: fri apr 23
18:28:53 pdt 2010; r
config_args='-des -Dprefix=/opt/bleadperl -Dusedevel'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pip
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasi
ccversion='', gccversion='4.2.1 (Apple Inc. build 5664)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='
-fstack-protector -L/opt/local/l
libpth=/opt/local/lib /usr/lib
libs=-lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/opt/local/lib -fstack
Locally applied patches:
---
@INC for perl 5.13.5:
/opt/bleadperl/lib/site_perl/5.13.5/darwin-2level
/opt/bleadperl/lib/site_perl/5.13.5
/opt/bleadperl/lib/5.13.5/darwin-2level
/opt/bleadperl/lib/5.13.5
/opt/bleadperl/lib/site_perl
.
---
Environment for perl 5.13.5:
DYLD_LIBRARY_PATH (unset)
HOME=/Users/zzz
LANG=en_GB.UTF-8
LANGUAGE (unset)
LC_COLLATE=C
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
PERL_BADLANG (unset)
SHELL=/bin/bash
--
Aaron Crane ** http://aaroncrane.co.uk/
Thread Previous