At 10:44 -0400 9/05/2000, Chris Nandor wrote: >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. > Possibly it's the SC libraries or compiler - I don't have MarkWilliams so can't check if changing the compiler/library would clear this up (one of Matthias's subgoals what this is a DIY project using free tools.) Possibly it's the Quadra or MacOS v7.6. I'm hoping not. One way to check .. could I as you to compile using MWC, a 68K version of miniperl and leave it someplace accessable? BTW, :miniperl -le 'print $]' 5.006 --- "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