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

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

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
May 2, 2001 09:22
Subject:
Re: Please make "last" work in "grep"
Message ID:
20010502172212.I549@blackrider.blackstar.co.uk
On Wed, May 02, 2001 at 06:05:54PM +0200, H. Merijn Brand wrote:
> IIRC, that optimization is not even considered for reasons of many people
> wanting the side effects of grep/map finishing over all elements (which could
> of course be from a tied array or database connection)

If we could determine if the block has no side effects... oh wait,
everything in Perl has a side effect.  ;)


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>	     Kwalitee Is Job One
I was *meant* to mount your donuts.

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