develooper Front page | perl.perl6.language | Postings from May 2004

C style conditional statements

Thread Next
From:
piotr
Date:
May 11, 2004 17:01
Subject:
C style conditional statements
Message ID:
20040512000042.GC18109@larroy.com
Hi

Is there any chance that in perl6 there will be the possibility to write
if/else statements without {}s with the condition at the beginning?

Like 

if (condition)
	statement;

In order not to break traditional C culture. Is there any technical
reason why it wasn't done in perl5? 

Regards.

-- 
Pedro Larroy Tovar | Linux & Network consultant |  piotr%member.fsf.org 

Software patents are a threat to innovation in Europe please check: 
	http://www.eurolinux.org/     

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