Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #22699] redo undefines lexical declared in while

0 views
Skip to first unread message

Peter Scott

unread,
Jun 13, 2003, 1:58:49 PM6/13/03
to bugs-bi...@netlabs.develooper.com
# New Ticket Created by Peter Scott
# Please include the string: [perl #22699]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=22699 >


This doesn't look right:

% perl -l
while (my $x = $])
{
die '$x undefined' unless defined $x;
print $x;
redo;
}
^D
5.009
$x undefined at - line 3.

Goes back to at least 5.004 though.


Summary of my perl5 (revision 5.0 version 9 subversion 0 patch 19765)
configuration:
Platform:
osname=linux, osvers=2.4.18-3, archname=i586-linux
uname='linux psdt.com 2.4.18-3 #1 thu apr 18 07:31:07 edt 2002
i586 unknown '
config_args='-des -Dusedevel'
hint=recommended, useposix=true, d_sigaction=define
usethreads=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='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.3
2.96-113)', 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 =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil -lrt
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil -lrt
libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Locally applied patches:
DEVEL18374
Built under linux
Compiled at Jun 13 2003 09:47:53
@INC:
/usr/local/lib/perl5/5.9.0/i586-linux
/usr/local/lib/perl5/5.9.0
/usr/local/lib/perl5/site_perl/5.9.0/i586-linux
/usr/local/lib/perl5/site_perl/5.9.0
/usr/local/lib/perl5/site_perl
.
--
Peter Scott
Pacific Systems Design Technologies


0 new messages