Path: utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!mit-eddie!mintaka!yale!think.com!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Perl level 41 Fails lib bigint test. Test Case included. Message-ID: <10434@jpl-devvax.JPL.NASA.GOV> Date: 17 Nov 90 00:30:25 GMT References: <1990Nov16.192134.15095@millipore.com> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 10 In article <1990Nov16.192134.15095@millipore.com> blu@millipore.com (Brian Utterback) writes: : As has already been noted, perl level 41 fails the test. There seems to be : a problem with the cmp operator and possibly the || op as well. Yes, cmp was assuming that memcmp returned -1, 0 or 1 when it's not documented to do so. >>patch42. The || behavior is correct. $a || $b || $c will return the first true value. Larry