[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-Porters] New MacPerl build system now available!



At 10.23 -0400 2000.05.09, Larry Moore wrote:
>At 07:20 -0400 9/05/2000, Chris Nandor wrote:
>>Hm.
>>
>>:miniperl -wle 'my($a,$b,$eq)=("a","b",0);$eq|=$a eq $b;print "$eq"'
>>0
>>
>>Seems fine for me.
>>
>
>On the Quadra ... MacOS 7.6
>:miniperl -wle 'my($a,$b,$eq)=("a","b",0);$eq|=$a eq $b;print "$eq"'
>1074855936
>Which is unexpected.
>
>However -
>
>:miniperl -wle "$x = (~0)&0x7fffffff;print $x"
>2147483647
>
>works.

:miniperl -le 'print $]'
5.006
:miniperl -wle 'my($a,$b,$eq)=("a","b",0);$eq|=$a eq $b;print "$eq"'
0
:miniperl -wle "$x = (~0)&0x7fffffff;print $x"
2147483647

I wonder if it is compiler differences?  I think I am the only one here who
has weighed in and is using a miniperl built with MWC instead of SC/MrC.

-- 
Chris Nandor       |     pudge@pobox.com      |     http://pudge.net/
Andover.Net        | chris.nandor@andover.net | http://slashcode.com/

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org