On Sat, Apr 28, 2012 at 8:21 AM, Ævar Arnfjörð Bjarmason
<[email protected]> wrote:
> For what it's worth I once asked Larry Wall on #perl6 if he'd consider
> making everything an expression in Perl 6, i.e. you could always stick
> an assignment in front of any block.
>
> He didn't like that for language design reasons, he thought that
> expressions and blocks should be distinct constructs.
>
> I think for Perl 5 it makes the most sense to just continue using do {}.

( expression )
could always be
do { expression }

could it not?


-- 
In this document, the key words "MUST", "MUST NOT", "REQUIRED", "SHALL",
"SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and
"OPTIONAL" are to be interpreted using situational ethics.
_______________________________________________
kc mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/kc

Reply via email to