Re: RFC 173 (v1) Allow multiple loop variables in foreach statements

2000-08-30 Thread skud
On Wed, Aug 30, 2000 at 02:21:19AM -, Perl6 RFC Librarian wrote: > >Allow for a list of loop variables in for(each) statements, i.e. & e.g., > > foreach my ($x, $y, $z) (@list) { ... } Hear, hear. I like this one :) K. -- Kirrily Robert -- <[EMAIL PROTECTED]> -- http://netizen.com.au/

Re: RFC 173 (v1) Allow multiple loop variables in foreach statements

2000-08-30 Thread Peter Scott
At 11:05 AM 8/30/00 -0400, John Porter wrote: > > The potential parsing difficulty I came up with was how to tell that > > > > foreach ($a,$b,$c) (@list) ... > > > > was not > > > > foreach $_ ($a, $b, $c) (@list) ... > > > > Graham tells me that the required parentheses and block braces

Re: RFC 173 (v1) Allow multiple loop variables in foreach statements

2000-08-30 Thread John Porter
: Peter Scott <[EMAIL PROTECTED]>: > > =head2 Alternatives > > While C is frequently adduced as an alternative, this requires an > array instead of just a list, and is destructive to boot. > > =head1 IMPLEMENTATION > > The potential parsing difficulty I came up with was how to tell that > >

RFC 173 (v1) Allow multiple loop variables in foreach statements

2000-08-29 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Allow multiple loop variables in foreach statements =head1 VERSION Maintainer: Peter Scott <[EMAIL PROTECTED]> Date: 29 Aug 2000 Mailing List: [EMAIL PROTECTED] Version: 1 Number: