develooper Front page | perl.perl6.language | Postings from April 2003

Re: S6: Change in if syntax?

Thread Previous | Thread Next
From:
Piers Cawley
Date:
April 22, 2003 07:48
Subject:
Re: S6: Change in if syntax?
Message ID:
m23cka629e.fsf@TiBook.bofh.org.uk
Paul <ydbxmhc@yahoo.com> writes:

> --- Brent Dax <brentdax@cpan.org> wrote:
>> Paul:
>> #   if ( $foo    {bar}     # using whitespace to line up subscripts
>> #   or   $piddle {far} ) { # for visual reasons, but parens required
>> #       boo();
>> #   }
>> 
>> I would imagine (read: "hope") that the no-whitespace thing would be
>> tiebreaking rule, i.e. "if you can't tell, assume it's a block".
>
> Ditto. Anybody know for sure?

Last time I looked it wasn't a tiebreaking rule, it was absolute. At
least, that was my understanding...

-- 
Piers

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