Path: utzoo!attcan!uunet!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: why is 010.0 - 010.0000 == 720 Message-ID: <9999@jpl-devvax.JPL.NASA.GOV> Date: 17 Oct 90 16:24:19 GMT References: <6298@ge-dab.GE.COM> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 17 In article <6298@ge-dab.GE.COM> coleman@sunny.dab.ge.com (Richard Coleman) writes: : Ok, I give up, why is : 010.0 - 010.0000 == 720 (((010) . 0) - 010) . 0 (( 8 . 0) - 010) . 0 ( 80 - 010) . 0 72 . 0 720 The . and - operators have the same precedence, and associate left to right. : p.s. Anybody keeping a FAQ list. Tom is making one up. This won't be on it. Larry