Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2010 04:31:40 -1000
From:      parv@pair.com
To:        "Randal L. Schwartz" <merlyn@stonehenge.com>
Cc:        Alejandro Imass <ait@p2ee.org>, Polytropon <freebsd@edvax.de>, Chad Perrin <perrin@apotheon.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: perl qstn...
Message-ID:  <20100405143140.GA4557@holstein.holy.cow>
In-Reply-To: <867homm1qf.fsf@red.stonehenge.com>
References:  <4BB8108A.9080104@FreeBSD.org> <1270371713.5861.98.camel@tao.thought.org> <86aatjnsts.fsf@red.stonehenge.com> <861vevnsow.fsf@red.stonehenge.com> <j2ya14066a01004040945z39191770k2f025752317fb14a@mail.gmail.com> <20100404163353.GA15198@guilt.hydra> <20100404201442.b456044e.freebsd@edvax.de> <o2oa14066a01004041148zd4ef8167q32b04d58daec8f9f@mail.gmail.com> <4BB9A5ED.3040309@infracaninophile.co.uk> <867homm1qf.fsf@red.stonehenge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <867homm1qf.fsf@red.stonehenge.com>, wrote Randal L.
Schwartz thusly...
>
> >>>>> "Matthew" == Matthew Seaman
> >>>>> <m.seaman@infracaninophile.co.uk> 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

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100405143140.GA4557>