Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: Do be do be do. Message-ID: <1991Feb04.175823.15088@convex.com> Date: 4 Feb 91 17:58:23 GMT References: <1991Feb04.034645.3658@convex.com> <121307@uunet.UU.NET> <1991Feb04.125401.29075@convex.com> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 27 Nntp-Posting-Host: pixel.convex.com From the keyboard of tchrist@convex.COM (Tom Christiansen): I lied, and Larry hasn't even chastised me yet. :-) :So these will not happen: : &FOO while 0; : do FOO() while 0; :but this will: : do { &FOO; } while 0; This isn't true!!!! They all happen once!!! Thanks to Felix for happily pointing this out to me. His 0, &foo() while $bar; solution, ugly though it may be, gets around this. I'm wondering whether Larry did this intentionally. It doesn't seem to follow the priniple of least astonishment. Or perhaps I'm just easily astonished. --tom -- "Still waiting to read alt.fan.dan-bernstein using DBWM, Dan's own AI window manager, which argues with you 10 weeks before resizing your window." ### And now for the question of the month: How do you spell relief? Answer: U=brnstnd@kramden.acf.nyu.edu; echo "/From: $U/h:j" >>~/News/KILL; expire -f $U