Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!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: Do be do be do. Message-ID: <11296@jpl-devvax.JPL.NASA.GOV> Date: 4 Feb 91 20:06:43 GMT References: <1991Feb4.012916.7944@uvaarpa.Virginia.EDU> <1991Feb04.015138.28575@convex.com> <$ecGn8-e@cs.psu.edu> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 20 In article <$ecGn8-e@cs.psu.edu> flee@cs.psu.edu (Felix Lee) writes: : I was annoyed enough about : &foo() while $bar; : that I'm now using : 0, &foo() while $bar; : which is actually pretty silly. Mark's workaround was +&foo() while $bar; which doesn't LOOK as silly. Anyway, like I said, it's fixed in 4.0. The do-SUBR-while thing predated the &SUBR syntactic sugar by a fair amount, and it just sort of snuck past. Sorry for only having one brain... I just hope nobody out there has been DEPENDING on it to work that way. Larry