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

Re: proposal: functional C<if>

Thread Previous | Thread Next
From:
Eric Brine
Date:
April 27, 2012 13:02
Subject:
Re: proposal: functional C<if>
Message ID:
CALJW-qGOAHA2mTsab8JHRtjT4c5-ba2_gvw3EwcFG+28jen1zg@mail.gmail.com
On Fri, Apr 27, 2012 at 3:31 PM, Zefram <zefram@fysh.org> wrote:

> Eric Brine wrote:
> >Backwards compatibility. It's currently not required.
>
> It's not required (nor permitted) for an if-statement, and I don't
> think anyone's proposed abolishing the if-statement in favour of the
> if-expression.  Your examples show if-statements,


You seem to have missed the fact they they returned a value.


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