Front page | perl.perl5.porters |
Postings from April 2001
[ID 20010426.007] perl -e 'open IN, "/etc/hosts\n" or die'
From:
Stefan Traby
Date:
April 26, 2001 16:02
Subject:
[ID 20010426.007] perl -e 'open IN, "/etc/hosts\n" or die'
Message ID:
20010427010237.A9735@stefan.sime.com
This is a bug report for perl from stefan@hello-penguin.com
generated with the help of perlbug 1.33 running under perl v5.7.0.
-----------------------------------------------------------------
[Please enter your report here]
[0]--(00:41:46)-(root@stefan)-(~)-> perl -e 'open IN, "/etc/hosts\n" or die'
Died at -e line 1.
[2]--(00:41:53)-(root@stefan)-(~)->
This is quite different to the 5.6.0 behavior which strips trailing
white space.
It is at least a documentation bug.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl v5.7.0:
Configured by root at Sun Nov 26 10:41:26 MET 2000.
Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.0-test10-fijiji2, archname=i686-linux
uname='linux stefan 2.4.0-test10-fijiji2 #1 thu nov 9 02:59:15 cet 2000 i686 unknown '
config_args='-des -Dprefix=/opt'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='pgcc-2.95.2 19991024 (release)', 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, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil
libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Locally applied patches:
DEVEL7825
---
@INC for perl v5.7.0:
/opt/lib/perl5/5.7.0/i686-linux
/opt/lib/perl5/5.7.0
/opt/lib/perl5/site_perl/5.7.0/i686-linux
/opt/lib/perl5/site_perl/5.7.0
/opt/lib/perl5/site_perl
.
---
Environment for perl v5.7.0:
HOME=/root
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/opt/gnome/bin:/opt/sbin:/usr/local/bin:/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/nt/X11R6/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/bin/X11:/usr/bin/X11
PERL_BADLANG (unset)
SHELL=/bin/bash
--
ciao -
Stefan
" Man gebe jedem Niedersachsen - seinen eigenen Castor-Kasten. "
Stefan Traby Linux/ia32 fax: +43-3133-6107-9
Mitterlasznitzstr. 13 Linux/alpha phone: +43-699-10157505
8302 Nestelbach Linux/sparc http://www.hello-penguin.com
Austria mailto://st.traby@opengroup.org
Europe mailto://stefan@hello-penguin.com
-
[ID 20010426.007] perl -e 'open IN, "/etc/hosts\n" or die'
by Stefan Traby