develooper Front page | perl.perl5.porters | Postings from January 2010

Re: rvalue "statement" given blocks

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
January 4, 2010 14:37
Subject:
Re: rvalue "statement" given blocks
Message ID:
20100104223233.GC25629@klangraum.plasmasturm.org
* David Nicol <davidnicol@gmail.com> [2010-01-04 20:45]:
> As there is already a big digression on new syntax here, I'm in
> favor of allowing expression post-modifiers
> (if,while,for,unless) which are all currently allowed only one
> per expression, to stack to any depth, if nobody strenuously
> objects, while we're suggesting new syntax.

I’d like that too, but apparently Larry explicitly restricted
them. However, I’d be strongly in favour of doing the same thing
as Perl 6: allow one conditional modifier and one loop modifier
to be stacked. That covers 99% of the cases where I wish they
were allowed to stack, anyway.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

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