From owner-freebsd-questions@FreeBSD.ORG Mon Apr 5 14:29:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18D50106566C for ; Mon, 5 Apr 2010 14:29:48 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id BB9A98FC13 for ; Mon, 5 Apr 2010 14:29:47 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=HGzZEZllc7l+rGriDeLGo6RTzaxOKII9nWt1C4P+aSw= c=1 sm=0 a=kj9zAlcOel0A:10 a=ipoArj6GrvOCo6ls3Bny8w==:17 a=MgVMPgwMAAAA:8 a=WF2pI21SAAAA:8 a=5SD9MDFbRrOH2HRbclgA:9 a=ZnjmGL3ruUwk3gWvFXE0QuguHFUA:4 a=CjuIK1q_8ugA:10 a=MHmzl5aOqcYA:10 a=ipoArj6GrvOCo6ls3Bny8w==:117 X-Cloudmark-Score: 0 X-Originating-IP: 72.130.250.48 Received: from [72.130.250.48] ([72.130.250.48:39471] helo=localhost.hawaii.res.rr.com) by hrndva-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id B6/0C-20570-9D3F9BB4; Mon, 05 Apr 2010 14:29:46 +0000 Received: from holstein.holy.cow (parv [127.0.0.2]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id ABAD85C54; Mon, 5 Apr 2010 04:31:43 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.14.3/8.14.3/Submit) id o35EVevt004627; Mon, 5 Apr 2010 04:31:40 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Mon, 5 Apr 2010 04:31:40 -1000 From: parv@pair.com To: "Randal L. Schwartz" Message-ID: <20100405143140.GA4557@holstein.holy.cow> Mail-Followup-To: "Randal L. Schwartz" , Matthew Seaman , Alejandro Imass , Polytropon , Chad Perrin , FreeBSD Mailing List References: <4BB8108A.9080104@FreeBSD.org> <1270371713.5861.98.camel@tao.thought.org> <86aatjnsts.fsf@red.stonehenge.com> <861vevnsow.fsf@red.stonehenge.com> <20100404163353.GA15198@guilt.hydra> <20100404201442.b456044e.freebsd@edvax.de> <4BB9A5ED.3040309@infracaninophile.co.uk> <867homm1qf.fsf@red.stonehenge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <867homm1qf.fsf@red.stonehenge.com> X-Mailman-Approved-At: Mon, 05 Apr 2010 15:22:25 +0000 Cc: Alejandro Imass , Polytropon , Chad Perrin , FreeBSD Mailing List Subject: Re: perl qstn... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 14:29:48 -0000 in message <867homm1qf.fsf@red.stonehenge.com>, wrote Randal L. Schwartz thusly... > > >>>>> "Matthew" == Matthew Seaman > >>>>> writes: > > Matthew> As far as I know, perl and its descendant ruby are the > Matthew> only programming languages that let you put the > Matthew> condition test after the action, despite this being > Matthew> exceeding familiar in human languages. > > Except, we old-timers remember that Larry Wall directly lifted this > from RSTS-E BASIC-PLUS, which he had used at Pacific University as a > student. Having hacked BASIC-PLUS myself around the same time, I > recognized it instantly. > > BASIC-PLUS went further though, allowing them to be nested. So > you'd end up with monstrosities like: "Beauty is in the eye ...", or, perhaos you would prefer "Only a mother would ...". > PRINT a > IF a % 3 = 2 > FOR a = b TO b+7 > FOR b = 0 TO 90 STEP 10; Oh Randal, don't tease me please about the lack of such loveliness in perl. - parv --