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 make it > > possible for the parser to be able to tell the difference. > >Um, while I don't particularly care much, was there some reason >my suggested alternative syntax, C<for [$a,$b,$c] (@list)>, was >not mentioned? If nothing else, it alleviates some of the parsing >difficulty, since you still have a scalar expression between the >C<for> and the C<(@list)>. Sorry, I missed/forgot that posting. I'll add it in. -- Peter Scott Pacific Systems Design Technologies