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

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



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.

---
"the universe is not only queerer than we suppose, but queerer than we can
suppose" -  Haldane
Larry Moore  Fergus On Canada N1M 1V7 ljmoore@freespace.net
http://freespace.net/~ljmoore/Larry_resume.html



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