develooper Front page | perl.perl5.porters | Postings from January 2005

[perl #33698] bug triggered with reverse

Thread Next
From:
Boris Zentner
Date:
January 6, 2005 07:03
Subject:
[perl #33698] bug triggered with reverse
Message ID:
rt-3.0.11-33698-105283.14.2002585701064@perl.org
# New Ticket Created by  Boris Zentner 
# Please include the string:  [perl #33698]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=33698 >


This is a bug report for perl from bzm@2bz.de,
generated with the help of perlbug 1.35 running under perl v5.8.4.


-----------------------------------------------------------------
[Please enter your report here]

perl -e 'print reverse "Hallo"'
__OUTPUT__
Hallo

Tested with perl 5.8.1, 5.8.4 and 5.8.6. The only way to get it working  
is with a assignment.
perl -e 'print $x = reverse "Hallo"'


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
     category=core
     severity=medium
---
Site configuration information for perl v5.8.4:

Configured by sherm at Sat Apr 24 12:35:38 EDT 2004.

Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
   Platform:
     osname=darwin, osvers=7.3.0, archname=darwin-thread-multi-2level
     uname='darwin sherm-pendleys-computer.local 7.3.0 darwin kernel  
version 7.3.0: fri mar 5 14:22:55 pst 2004;  
root:xnuxnu-517.3.15.obj~4release_ppc power macintosh powerpc '
     config_args='-Dprefix=/usr/local/cb/perl5.8.4 -Dusethreads  
-Duseshrplib -Dcf_email=perl@dot-app.org -des'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=define use5005threads=undef useithreads=define  
usemultiplicity=define
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp  
-fno-strict-aliasing -I/usr/local/include',
     optimize='-Os',
     cppflags='-no-cpp-precomp -pipe -fno-common -DPERL_DARWIN  
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
     ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build  
1495)', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',  
lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='  
-L/usr/local/lib'
     libpth=/usr/local/lib /usr/lib
     libs=-ldbm -ldl -lm -lc
     perllibs=-ldl -lm -lc
     libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,  
libperl=libperl.dylib
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
     cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup  
-L/usr/local/lib'

Locally applied patches:


---
@INC for perl v5.8.4:
     /sw/lib/perl5
     /sw/lib/perl5/darwin
     /usr/local/cb/perl5.8.4/lib/5.8.4/darwin-thread-multi-2level
     /usr/local/cb/perl5.8.4/lib/5.8.4
      
/usr/local/cb/perl5.8.4/lib/site_perl/5.8.4/darwin-thread-multi-2level
     /usr/local/cb/perl5.8.4/lib/site_perl/5.8.4
     /usr/local/cb/perl5.8.4/lib/site_perl
     .

---
Environment for perl v5.8.4:
     DYLD_LIBRARY_PATH (unset)
     HOME=/Users/borisz
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
      
PATH=/sw/bin:/sw/sbin:/usr/local/cb/perl5.8.4/bin:/usr/local/bin:/bin:/ 
sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
     PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
     PERL_BADLANG (unset)
     SHELL=/bin/bash
--
Boris


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About