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

Re: Please make "last" work in "grep"

Thread Previous | Thread Next
From:
Larry Wall
Date:
May 2, 2001 18:10
Subject:
Re: Please make "last" work in "grep"
Message ID:
200105030109.SAA04936@kiev.wall.org
damian@conway.org writes:
:    > >Hopefully the "something similar", I hope in Perl 6 we will able to
:    > >bury the "0 but true" workaround to the backyard on a moonless night :-)
:    > 
:    > Especially since you don't need it. "0E0" and "0.", to name just two,
:    > work just as well.   ;-)
: 
: http://yetanother.org/damian/Perl5+i/control.html#Any_value_can_be_true_or_false
: 
: ;-)

Except if we take that approach it will be probably spelled:

    return 0 is true;

More in A2, which I'm just putting the finishing touches on.

Larry

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