Skip Menu |
Report information
Id: 997
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: swmcd <swmcd [at] world.std.com>
Cc:
AdminCc:

Operating System: irix
PatchStatus: (no value)
Severity: low
Type: docs
Perl Version: (no value)
Fixed In: (no value)



From: swmcd [...] world.std.com (Steven W McDougall)
Subject: $/=''; loses line endings
To: perlbug [...] perl.com
Date: Wed, 14 Jul 1999 12:20:23 -0400 (EDT)
Download (untitled) / with headers
text/plain 3.2k
- SWM world:~/src/Perl>cat bug.pl $/ = ''; while (<DATA>) { print } __DATA__ a b c d e f world:~/src/Perl>perl -w bug.pl a b c d e f world:~/src/Perl> world:~/src/Perl>perl -V Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration: Platform: osname=irix, osvers=5, archname=IP19-irix uname='irix world 5.3 11091811 ip19 mips ' hint=recommended, useposix=true, d_sigaction=define bincompat3=y useperlio= d_sfio= Compiler: cc='cc', optimize='-O2', gccversion= cppflags='-O2 -mips2 -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -I/usr/local/include -DLANGUAGE_C' ccflags ='-O2 -mips2 -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000 -I/usr/local/include -DLANGUAGE_C' stdchar='unsigned char', d_stdstdio=define, usevfork=false voidflags=15, castflags=1, d_casti32=define, d_castneg= intsize=4, alignbytes=8, usemymalloc=n, randbits=15 Linker and Libraries: ld='ld', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -lmalloc -lsun -lm -lc -lcrypt -lbsd -lPW libc=/usr/lib/libc.so, so=so useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=], d_dlsymun=, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Built under irix Compiled at Sep 10 1997 17:22:49 %ENV: PERL5LIB="/home/abhaile/swmcd/lib/perl5" @INC: /home/abhaile/swmcd/lib/perl5/IP19-irix /home/abhaile/swmcd/lib/perl5 /usr/local/lib/perl5.004/IP19-irix/5.00401 /usr/local/lib/perl5.004 /usr/local/lib/perl5.004/site_perl/IP19-irix /usr/local/lib/perl5.004/site_perl . world:~/src/Perl> I get the same output on C:\SWM>perl -V Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-thread uname='' hint=recommended, useposix=true, d_sigaction=undef usethreads=define useperlio=undef d_sfio=undef Compiler: cc='cl.exe', optimize='-O2 -MD -DNDEBUG', gccversion= cppflags='-DWIN32' ccflags ='-O2 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT ' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release -machine:x86' libpth="C:\Program Files\DevStudio\VC\lib" libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.l ib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32 .lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib PerlCRT.lib libc=PerlCRT.lib, so=dll, useshrplib=yes, libperl=perl.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -machine:x86' Characteristics of this binary (from libperl): Built under MSWin32 Compiled at May 20 1999 14:32:43 @INC: c:\perl\5.00503\lib/MSWin32-x86-thread c:\perl\5.00503\lib c:\perl\site\5.00503\lib/MSWin32-x86-thread c:\perl\site\5.00503\lib . C:\SWM>
not


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org