Perl / perl5

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

pb with perl5.005_03 #55

Closed p5pRT closed 21 years ago

p5pRT commented 25 years ago

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

Searchable as RT857$

p5pRT commented 25 years ago

From alain.mellan@st.com

I think i have found a problem in perl. I'm writing here since I have no Web nor news access from the office :-(

Here is the code snippet​:

@​_ = ("a"\, "cell AN2"); split(' '\, $_[1]);

print $_[0]\, "\n";

It was working fine with the perl5.004_01 we had\, but with the latest version\, it gives garbage.

Thanks in advance for your help.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:   Platform​:   osname=solaris\, osvers=2.5.1\, archname=sun4-solaris   uname='sunos crx593 5.5.1 generic_103640-24 sun4m sparc '   hint=recommended\, useposix=true\, d_sigaction=define   usethreads=undef useperlio=undef d_sfio=undef   Compiler​:   cc='cc'\, optimize='-O'\, gccversion=   cppflags=''   ccflags =''   stdchar='unsigned char'\, d_stdstdio=define\, usevfork=false   intsize=4\, longsize=4\, ptrsize=4\, doublesize=8   d_longlong=define\, longlongsize=8\, d_longdbl=define\, longdblsize=16   alignbytes=8\, usemymalloc=y\, prototype=define   Linker and Libraries​:   ld='cc'\, ldflags =''   libpth=/lib /usr/lib /usr/ccs/lib   libs=-lsocket -lnsl -ldl -lm -lc -lcrypt   libc=/lib/libc.so\, so=so\, useshrplib=false\, libperl=libperl.a   Dynamic Linking​:   dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags=' '   cccdlflags='-KPIC'\, lddlflags='-G'

Characteristics of this binary (from libperl)​:   Built under solaris   Compiled at Jun 9 1999 12​:58​:52   @​INC​:   /soft/contrib/src/perl-5.0/run/5/share/lib/5.00503/sun4-solaris   /soft/contrib/src/perl-5.0/run/5/share/lib/5.00503   /soft/contrib/src/perl-5.0/run/5/share/lib/site_perl/5.005/sun4-solaris   /soft/contrib/src/perl-5.0/run/5/share/lib/site_perl/5.005

-- Alain Mellan alain.mellan@​st.com Central R&D +33 4 76 92 67 45 STMicroelectronics Crolles\, France

p5pRT commented 24 years ago

From [Unknown Contact. See original ticket]

implicit split from @​_ to @​_ is broken but depreciated.

p5pRT commented 21 years ago

From The RT System itself

implicit split from @​_ to @​_ is broken but depreciated.