Comments (3)
From [email protected]
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
from perl5.
From [Unknown Contact. See original ticket]
implicit split from @_ to @_ is broken but depreciated.
from perl5.
From The RT System itself
implicit split from @_ to @_ is broken but depreciated.
from perl5.
Related Issues (20)
- POSIX::strftime: modified behavior surprises users HOT 2
- TEST 09_roundtrip.t fails in 5.40.0 RELEASE HOT 2
- BBC: Blead Breaks EV HOT 7
- BBC: Blead Breaks PDL HOT 9
- chdir doesn't return a boolean, but manual says it returns true/false
- SIGSEGV on start if LC_ALL is unset HOT 10
- BBC: 5.41.1 breaks PLICEASE/UUID-FFI-0.11.tar.gz HOT 14
- BBC: 5.41.1 breaks RJH/DataLoader-0.02.tar.gz HOT 1
- open unexpectedly creates temporary files with undefined variables sometimes HOT 5
- Unable to build 5.40.0 - infinite loop trying to build IO-Socket-SSL HOT 4
- Cannot build without another Perl HOT 8
- Give more informative error when using a filehandle as a directory handle HOT 3
- Porting/sync-with-cpan having trouble with version declared in package statement HOT 8
- ExtUtils::Liblist->ext() finds wrong libraries that do not work for build-time linking ('-ltinfo' found at .../libtinfo.so.6.4), breaks builds (Term::ReadLine::Gnu) HOT 3
- When Configure checks the integrity of Perl, running the ls command encounters an error message related to “grep: warning: stray \ before -.” This causes Configure to mistakenly judge the package as incomplete HOT 7
- [doc] print join 1..9 HOT 5
- split bitwise-assignment operators (`&=`, `&.=`, etc) don't return lvalues HOT 1
- test t/io/sem fails on Mac PPC64 HOT 5
- Use of uninitialized value $_[0] in defined operator HOT 1
- [doc] perlfunc our section block unclear
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perl5.