develooper Front page | perl.perl5.porters | Postings from June 2012

[perl #113792] Unused punctuation variables don't interpolate

Thread Previous | Thread Next
From:
Eric Brine
Date:
June 22, 2012 12:57
Subject:
[perl #113792] Unused punctuation variables don't interpolate
Message ID:
rt-3.6.HEAD-5009-1340395035-561.113792-75-0@perl.org
# New Ticket Created by  "Eric Brine" 
# Please include the string:  [perl #113792]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=113792 >


This is a bug report for perl from ikegami@adaelis.com,
generated with the help of perlbug 1.39 running under perl 5.16.0.


-----------------------------------------------------------------
[Please describe your issue here]


$ perl -E'"abc" =~ /(b)/; say "@+"'
2 2

$ perl -E'@_ = qw( a b c ); say "@_"'
a b c

$ perl -E'@. = qw( a b c ); say "@."'
@.

$ perl -E'@. = qw( a b c ); say "@{.}"'
a b c

What's up with #3?

- Eric


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl 5.16.0:

Configured by eric at Tue May 22 01:57:47 EDT 2012.

Summary of my perl5 (revision 5 version 16 subversion 0) configuration:

  Platform:
    osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux-thread-multi
    uname='linux eric 2.6.32-5-amd64 #1 smp mon mar 26 07:00:19 utc 2012
x86_64 gnulinux '
    config_args='-de -Dprefix=/home/eric/usr/perlbrew/perls/5.16.0t
-DPERL_SUB_DEPTH_WARN=1000 -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.5', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib
/usr/lib64
    libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.11.3.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.11.3'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
-fstack-protector'

Locally applied patches:


---
@INC for perl 5.16.0:

/home/eric/usr/perlbrew/perls/5.16.0t/lib/site_perl/5.16.0/x86_64-linux-thread-multi
    /home/eric/usr/perlbrew/perls/5.16.0t/lib/site_perl/5.16.0

/home/eric/usr/perlbrew/perls/5.16.0t/lib/5.16.0/x86_64-linux-thread-multi
    /home/eric/usr/perlbrew/perls/5.16.0t/lib/5.16.0
    .

---
Environment for perl 5.16.0:
    HOME=/home/eric
    LANG=en_CA.UTF-8
    LANGUAGE=en_CA:en
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=/home/eric/usr/perlbrew/bin:/home/eric/usr/perlbrew/perls/5.16.0t/bin:.:/home/eric/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERLBREW_BASHRC_VERSION=0.42
    PERLBREW_HOME=/home/eric/.perlbrew
    PERLBREW_MANPATH=/home/eric/usr/perlbrew/perls/5.16.0t/man

PERLBREW_PATH=/home/eric/usr/perlbrew/bin:/home/eric/usr/perlbrew/perls/5.16.0t/bin
    PERLBREW_PERL=5.16.0t
    PERLBREW_ROOT=/home/eric/usr/perlbrew
    PERLBREW_VERSION=0.42
    PERL_BADLANG (unset)
    SHELL=/bin/bash

Thread Previous | 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