develooper Front page | perl.perl5.porters | Postings from November 2000

Re: IDEA: more for-like map and grep?

Thread Previous
Simon Cozens
November 20, 2000 17:17
Re: IDEA: more for-like map and grep?
Message ID:
On Mon, Nov 20, 2000 at 07:10:10PM -0600, Jarkko Hietaniemi wrote:
> While doodling with an Eternity Project (TM) of mine it came to me that
> it would be nice to be able to alias also other variables than the usual
> $_ when using map() and grep(), like we can in for(each). 

Why don't we go the whole hog and combine the foreach iter and the mapwhile
iter? They do *more or less* the same thing, right?

Sendmail may be safely run set-user-id to root.
		-- Eric Allman, "Sendmail Installation Guide"

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About