Front page | perl.perl5.porters |
Postings from November 1999
[ID 19991118.001] silent 'use strict'
From:
dvl
Date:
November 18, 1999 02:26
Subject:
[ID 19991118.001] silent 'use strict'
Message ID:
199911181025.LAA28199@de.uu.net
This is a bug report for perl from dvl@de.uu.net,
generated with the help of perlbug 1.26 running under perl 5.00502.
-----------------------------------------------------------------
[Please enter your report here]
Hello,
Executing the following code (tested with 5.005_02/03 5004_05 and
5.005_57) line 6 bails with the following error:
Can't use an undefined value as an ARRAY reference at x.pl line 6.
When i comment out line 6, line 8 yields no error nor a warning!
<perl>
use strict;
$^W = 1;
my $self = {};
print join (", ", @{ $self->{lrxef} } ),"\n";
foreach (@{ $self->{lrxef} }) {
print ".";
}
print "\n";
</perl>
Regards,
Dirk
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl 5.00502:
Configured by hm at Mon Nov 16 19:59:13 MET 1998.
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris
uname='sunos shusai 5.6 generic_105181-03 sun4u sparc sunw,ultra-5_10 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='/usr/local/SUNWspro/bin/cc', optimize='-fast', gccversion=
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='/usr/local/SUNWspro/bin/cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib'
Locally applied patches:
---
@INC for perl 5.00502:
/users/opt/pkg/perl-5.005_02/lib/sun4-solaris
/users/opt/pkg/perl-5.005_02/lib
/users/opt/pkg/perl-5.005_02/lib/site_perl/5.005/sun4-solaris
/users/opt/pkg/perl-5.005_02/lib/site_perl/5.005
.
---
Environment for perl 5.00502:
HOME=/home/dvl
LANG (unset)
LD_LIBRARY_PATH=/usr/local/rvplayer5.0:/usr/local/groff-1.11/lib:/usr/local/xpm/lib:/usr/openwin/lib:/usr/local/X11/lib
LOGDIR (unset)
PATH=/usr/local/ghostscript/bin:/usr/local/ssh-1.2.22/bin:/usr/local/xpm/bin:/usr/local/netscape-v45:/usr/local/groff-1.11/bin:/usr/local/xv/bin:/usr/openwin/demo:/users/opt/bin:/home/dvl/bin:/usr/openwin/bin:/users/opt/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin:/usr/local/bin:/usr/ccs/bin:/users/home/dvl/bin:/home/dvl/local/bin:/usr/local/X11/bin
PERL_BADLANG (unset)
PERL_READLINE_NOWARN=1
SHELL=/usr/local/bin/bash
-
[ID 19991118.001] silent 'use strict'
by dvl