Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.98k stars 559 forks source link

chomp(@x)= @y; is silent #4584

Closed p5pRT closed 21 years ago

p5pRT commented 23 years ago

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

Searchable as RT7909$

p5pRT commented 23 years ago

From tye@metronet.com

----------------------------------------------------------------- Of the following lines​:

  chop($x)= $y;   chop(@​x)= @​y;   chomp($x)= $y;   chomp(@​x)= @​y;

All but the last are fatal errors. The last line should be a fatal error as well.

Perl Info ``` Flags: category=core severity=medium Site configuration information for perl v5.6.0: Configured by etm at Fri Jul 14 13:46:57 2000. Summary of my perl5 (revision 5 version 6 subversion 0) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=undef d_sfio=undef uselargefiles=undef use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler: cc='cl', optimize='-O1 -MD -DNDEBUG', gccversion= cppflags='-DWIN32' ccflags ='-O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX' 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 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"F:\Apps\Perl\lib\CORE" -machine:x86' libpth="F:\Apps\Perl\lib\CORE" libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"F:\Apps\Perl\lib\CORE" -machine:x86' Locally applied patches: ACTIVEPERL_LOCAL_PATCHES_ENTRY @INC for perl v5.6.0: F:/Apps/Perl/lib F:/Apps/Perl/site/lib . Environment for perl v5.6.0: HOME (unset) LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=F:\Apps\Perl\bin;F:\Apps\iPerl\bin;F:\Apps\DosBin;C:\WINNT\system32;C:\WINNT;F:\Apps\Cygwin\bin;F:\Apps\Cygwin\contrib\bin;f:\apps\Sql7\BINN PERL_BADLANG (unset) SHELL (unset) ```
p5pRT commented 21 years ago

From @iabyn

(Just reviewing old bug reports)

This has been fixed in the forthcoming release 5.8.1 of Perl.

p5pRT commented 21 years ago

@iabyn - Status changed from 'open' to 'resolved'