develooper Front page | perl.perl5.porters | Postings from April 2012

Re: proposal: functional C<if>

Thread Previous | Thread Next
From:
Aaron Priven
Date:
April 27, 2012 11:02
Subject:
Re: proposal: functional C<if>
Message ID:
CAFFY53ZZA9=cJ-nbxW8xL62_=18qKOajDq3sHF=RjSv4kREw_g@mail.gmail.com
It sounds to me as though all these problems would go away if there were
another word for "if". Even a non-ideal word seems like a better solution
to me than requiring a plus in front of "if," or completely rewriting the
grammar.

Perhaps "cond" (for "conditional") would suffice.

On Fri, Apr 27, 2012 at 9:55 AM, Eric Brine <ikegami@adaelis.com> wrote:

>
> Which brings me to my point. Would it be bad if "if" expression always
> required leading "+" (last statement of sub or block excepted, of course)?
> Concise existing mechanism providing visual cue of meaning. It has it all.
>
>
-- 
Aaron Priven, aaron@priven.com


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