[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 04-map.patch
From: |
Tom Tromey |
Subject: |
Re: 04-map.patch |
Date: |
13 May 2001 17:23:40 -0600 |
>>>>> "Akim" == Akim Demaille <address@hidden> writes:
Akim> grep { delete $clean_files{"$infobase.$_"} } @syncodeindexes;
Akim> This last one (not patched), I'm not sure how to write it elegantly.
Won't s/grep/map work here?
I think we should adopt a rule of only using grep where we use the
return result. Other uses we could write in terms of map or foreach.
Comments?
Tom