At 7:20 AM -0400 5/9/00, Chris Nandor wrote: >At 6.20 +0900 2000.05.07, Keitarou Miyazaki wrote: >>When I was inspecting xsubpp, I found my miniperl's "|" operator did not >>work properly. For example, I created a file named "mytest" like below, >> >> #!miniperl >> { ### Test1 ### >> my($a, $b, $eq) = ('a', 'b', 0); >> $eq |= $a eq $b; >> print "Test1: $eq¥n"; >> } >> >>then run this file. >> >> :miniperl mytest >> Test1: 2147483648 > >Hm. > >:miniperl -wle 'my($a,$b,$eq)=("a","b",0);$eq|=$a eq $b;print "$eq"' >0 :miniperl -wle 'my($a,$b,$eq)=("a","b",0);$eq|=$a eq $b;print "$eq"' 2147483648 iBook, MacOS 9.0.4. That's -0, I think, but it's too early in the morning for me to be sure (it's complement + 1, right?): :miniperl -wle "$x = (~0)&0x7fffffff;print $x" 2147483647 > >Seems fine for me. > >-- >Chris Nandor | pudge@pobox.com | http://pudge.net/ >Andover.Net | chris.nandor@andover.net | http://slashcode.com/ > -- -- Paul Schinder schinder@pobox.com ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org