develooper Front page | perl.perl5.porters | Postings from June 2019

Re: [perl #134230] Numifying a 0x string evaluates the hex number

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
June 27, 2019 14:50
Subject:
Re: [perl #134230] Numifying a 0x string evaluates the hex number
Message ID:
20190627165001.4f0de083@pc09.procura.nl
On Thu, 27 Jun 2019 07:35:45 -0700, "Dan Book \(via RT\)"
<perlbug-followup@perl.org> wrote:

> perl -Mwarnings -e 'print "0xFF" + 0, "\n"'

Interesting

$ perl-all -le 'print "0xFF" + 0'
Running perl-all -le print "0xFF" + 0

=== base/perl5.6.0      5.006    x86_64-linux
255
=== base/perl5.6.1      5.006001 x86_64-linux-perlio
255
=== base/tperl5.6.1     5.006001 x86_64-linux-thread-multi-ld-perlio
255
=== base/perl5.6.2      5.006002 x86_64-linux-perlio
255
=== base/tperl5.6.2     5.006002 x86_64-linux-thread-multi-ld-perlio
255
=== base/perl5.6        5.006002 x86_64-linux-perlio
255
=== base/tperl5.6       5.006002 x86_64-linux-thread-multi-ld-perlio
255
=== base/perl5.8.0      5.008    x86_64-linux
0
=== base/tperl5.8.0     5.008    x86_64-linux-thread-multi-ld
0
=== base/perl5.8.1      5.008001 x86_64-linux
0
=== base/tperl5.8.1     5.008001 x86_64-linux-thread-multi-ld
0
=== base/perl5.8.2      5.008002 x86_64-linux
0

... 0 all the way to

=== base/tperl5.28      5.028001 x86_64-linux-thread-multi-ld
0
=== base/perl5.29.0     5.029000 x86_64-linux
0
=== base/tperl5.29.0    5.029000 x86_64-linux-thread-multi-ld
0
=== base/perl5.29.1     5.029001 x86_64-linux
0
=== base/tperl5.29.1    5.029001 x86_64-linux-thread-multi-ld
0
=== base/perl5.29.2     5.029002 x86_64-linux
255
=== base/tperl5.29.2    5.029002 x86_64-linux-thread-multi-ld
255
=== base/perl5.29.3     5.029003 x86_64-linux
255
=== base/tperl5.29.3    5.029003 x86_64-linux-thread-multi-ld
255
=== base/perl5.29.4     5.029004 x86_64-linux
255
=== base/tperl5.29.4    5.029004 x86_64-linux-thread-multi-ld
255
=== base/perl5.29.5     5.029005 x86_64-linux
255
=== base/tperl5.29.5    5.029005 x86_64-linux-thread-multi-ld
255
=== base/perl5.29.6     5.029006 x86_64-linux
255
=== base/tperl5.29.6    5.029006 x86_64-linux-thread-multi-ld
255
=== base/perl5.29       5.029006 x86_64-linux
255
=== base/tperl5.29      5.029006 x86_64-linux-thread-multi-ld
255

I have more perl's at home

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.29   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

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