in reply to Difference between foreach and grep
A lot more context would be useful here. I think they don't have much in common, actually, besides that they both loop over a list. I think grep has more in common with map than foreach.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Difference between foreach and grep
by velusamy (Monk) on Dec 06, 2008 at 04:42 UTC | |
by matze77 (Friar) on Dec 06, 2008 at 11:17 UTC | |
by Lawliet (Curate) on Dec 06, 2008 at 04:43 UTC |