develooper Front page | perl.perl5.porters | Postings from December 2004

[perl #33631] $^U is readonly

From:
Nicholas Clark
Date:
December 31, 2004 10:40
Subject:
[perl #33631] $^U is readonly
Message ID:
rt-3.0.11-33631-104902.11.1774088547012@perl.org
# New Ticket Created by  Nicholas Clark 
# Please include the string:  [perl #33631]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=33631 >


This is a bug report for perl from nick@ccl4.org,
generated with the help of perlbug 1.34 running under perl v5.8.1.


-----------------------------------------------------------------
[Please enter your report here]

$ ~/Reference/5.8.0/bin/perl5.8.0-32 -wle '$^U = 3'
$ ~/Reference/5.8.1/bin/perl5.8.1-32 -wle '$^U = 3'
Modification of a read-only value attempted at -e line 1.

The unused punctuation variable $^U appears to have become inadvertently
made read only by this change:

http://public.activestate.com/cgi-bin/perlbrowse?patch=18490

I propose to fix this as part of a general refactoring of gv_fetchpv

Nicholas Clark

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
This perlbug was built using Perl v5.8.1 - Sun Mar 21 10:48:25 GMT 2004
It is being executed now by  Perl v5.8.1 - Sun Mar 21 00:14:48 GMT 2004.

Site configuration information for perl v5.8.1:

Configured by nick at Sun Mar 21 00:14:48 GMT 2004.

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=darwin, osvers=7.3.0, archname=darwin-2level
    uname='darwin ship-in-a-bottle.local 7.3.0 darwin kernel version 7.3.0: fri mar 5 14:22:55 pst 2004; root:xnuxnu-517.3.15.obj~4release_ppc power macintosh powerpc '
    config_args='-Dusedevel=y -Dcc=ccache gcc -Dld=gcc -Ubincompat5005 -Uinstallusrbinperl -Dcf_email=nick@ccl4.org -Dperladmin=nick@ccl4.org -Dinc_version_list=  -Dinc_version_list_init=0 -Dprefix=~/Reference/5.8.1 -Uusethreads -Uuse64bitint -de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='ccache gcc', ccflags ='-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing',
    optimize='-Os',
    cppflags='-no-cpp-precomp -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing'
    ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1495)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =''
    libpth=/usr/lib
    libs=-ldbm -ldl -lm -lc
    perllibs=-ldl -lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup'

Locally applied patches:
    

---
@INC for perl v5.8.1:
    /sw/lib/perl5/5.8.1
    /sw/lib/perl5
    /sw/lib/perl5/darwin
    /Users/nick/Reference/5.8.1/lib/perl5/5.8.1/darwin-2level
    /Users/nick/Reference/5.8.1/lib/perl5/5.8.1
    /Users/nick/Reference/5.8.1/lib/perl5/site_perl/5.8.1/darwin-2level
    /Users/nick/Reference/5.8.1/lib/perl5/site_perl/5.8.1
    /Users/nick/Reference/5.8.1/lib/perl5/site_perl
    .

---
Environment for perl v5.8.1:
    DYLD_LIBRARY_PATH (unset)
    HOME=/Users/nick
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/Users/nick/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/sbin:/sbin:/usr/sbin
    PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
    PERL_BADLANG (unset)
    SHELL=/bin/bash




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