Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$/=''; loses line endings #191

Closed
p5pRT opened this issue Jul 14, 1999 · 2 comments
Closed

$/=''; loses line endings #191

p5pRT opened this issue Jul 14, 1999 · 2 comments

Comments

@p5pRT
Copy link
Collaborator

@p5pRT p5pRT commented Jul 14, 1999

Migrated from rt.perl.org#997 (status was 'resolved')

Searchable as RT997$

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Jul 14, 1999

From swmcd@world.std.com

- 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>

@p5pRT p5pRT closed this Nov 28, 2003
@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Nov 28, 2003

From The RT System itself

not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.