Re: perl qstn...
- From: parv@xxxxxxxx
- Date: Mon, 5 Apr 2010 04:31:40 -1000
in message <867homm1qf.fsf@xxxxxxxxxxxxxxxxxx>, wrote Randal L.
Schwartz thusly...
"Matthew" == Matthew Seaman
<m.seaman@xxxxxxxxxxxxxxxxxxxxxx> 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
--
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- Re: perl qstn...
- From: Greg Larkin
- Re: perl qstn...
- From: Gary Kline
- Re: perl qstn...
- From: Randal L. Schwartz
- Re: perl qstn...
- From: Randal L. Schwartz
- Re: perl qstn...
- From: Alejandro Imass
- Re: perl qstn...
- From: Chad Perrin
- Re: perl qstn...
- From: Polytropon
- Re: perl qstn...
- From: Alejandro Imass
- Re: perl qstn...
- From: Matthew Seaman
- Re: perl qstn...
- From: Randal L. Schwartz
- Re: perl qstn...
- Prev by Date: Re: ftp giving url but i want the IP address
- Next by Date: Compiling
- Previous by thread: Re: perl qstn...
- Next by thread: Re: perl qstn...
- Index(es):
Relevant Pages
|