Re: Control Structures II: loop

2005-02-12 Thread Timothy S. Nelson
On Thu, 14 Nov 2002, Luke Palmer wrote: > > nest: > > Nest is the power loop thingy documented in Raphael Finkel's top notch > > book "Advanced Programming Language Design", near the end of the "Control > > Structures" chapter -- this book is in PDF format: > > http://www.nondot.org/sabre/Mi

Re: Control Structures II: loop

2002-11-15 Thread fearcadi
Luke Palmer writes: > > for parallel(<>, 0..Inf) -> $line, $count { > FIRST { $line //= "#!/usr/bin/perl" } > # processing... > NEXT { print STDERR "Next line...\n" } > LAST { print STDERR "Done\n" } > } > > > Also, keep in mind that that C function can be any (p

Re: Control Structures II: loop

2002-11-15 Thread Timothy S. Nelson
On Thu, 14 Nov 2002, Luke Palmer wrote: > > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > > Date: Fri, 15 Nov 2002 07:37:51 +1100 (EST) > > From: "Timothy S. Nelson" <[EMAIL PROTECTED]> > > Sender: [EMAIL PROTECTED] > > X-SMTPD: qpsmtpd/0.12, http://develooper.com/code/qpsmtpd/ > > > >

Re: Control Structures II: loop

2002-11-14 Thread Luke Palmer
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Date: Fri, 15 Nov 2002 07:37:51 +1100 (EST) > From: "Timothy S. Nelson" <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > X-SMTPD: qpsmtpd/0.12, http://develooper.com/code/qpsmtpd/ > > Here's the next part to the Control Structures me

Control Structures II: loop

2002-11-14 Thread Timothy S. Nelson
Here's the next part to the Control Structures message I sent before. The next part is to apply the same idea to loop. Please note that this syntax conflicts with stuff already in Perl, but it's a bit clearer what I mean when I do it this way; the question is, do we scrap my i