Front page | perl.perl5.porters |
Postings from March 2000
[ID 20000319.004] Stringify of undef in array; join() or '""'?
From:
Joe Smith
Date:
March 19, 2000 18:27
Subject:
[ID 20000319.004] Stringify of undef in array; join() or '""'?
Message ID:
200003200226.SAA02975@romana.Tymnet.COM
This is a bug report for perl from jms@romana.tymnet.com,
generated with the help of perlbug 1.27 running under perl v5.6.0.
-----------------------------------------------------------------
[Please enter your report here]
perl -wle '@_ = (undef,undef); $_ = "@_"'
Use of uninitialized value in join at -e line 1.
Use of uninitialized value in join at -e line 1.
Is there a more optimal wording for that warning?
There is no explicit call to join() there, just an
implict call from a non-overloaded stringify of an array.
Use of uninitialized value in '""' at -e line 1.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl v5.6.0:
Configured by jms at Mon Mar 13 19:15:47 PST 2000.
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos romana 5.7 generic_106541-06 sun4u sparc sunw,ultra-5_10 '
config_args='-de -D cc=gcc'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release)
cppflags='-fno-strict-aliasing -I/usr/local/include -I/opt/local/include -I/opt/gnu/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include -I/opt/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib -L/opt/local/lib -L/opt/gnu/lib '
libpth=/usr/local/lib /opt/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lsec
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/local/lib -L/opt/gnu/lib'
Locally applied patches:
v5.6.0-RC1
---
@INC for perl v5.6.0:
/usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.6.0:
HOME=/home/romana/jms
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/romana/jms/bin:/home/romana/jms/bin.sunos5:/home/romana/jms/bin.sun4:/usr/openwin/bin:/usr/newsprint/bin:/usr/X11R6/bin:/usr/X11R5/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/proc/bin:/opt/local/bin:/opt/local/etc:/opt/local/admin:/usr/local/bin:/usr/local/etc:/usr/local/admin:/usr/proc/bin:/opt/gnu/bin:/usr/local/samba/bin:/usr/tym:/usr/shosts:/www/mybin
PERL_BADLANG (unset)
SHELL=/bin/tcsh
-
[ID 20000319.004] Stringify of undef in array; join() or '""'?
by Joe Smith