develooper Front page | perl.perl5.porters | Postings from November 2009

Re: "If" your subscript goes bump in the night

Thread Previous | Thread Next
From:
Zefram
Date:
November 2, 2009 06:50
Subject:
Re: "If" your subscript goes bump in the night
Message ID:
20091102145012.GP4448@fysh.org
David Nicol wrote:
>could the expression parsing rules change following an if or
>unless or while or until but nowhere else

The last thing the Perl grammar needs is *another* set of subtly-different
parsing rules for different situations.  Especially whitespace-sensitive
ones, and especially ones involving braces.  I'd *much* rather just keep
mandatory parens.

-zefram

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About