Top 10 perl books

Johan Lindström johanl at DarSerMan.com
Wed Apr 23 19:57:20 BST 2008


> >> On Wed, 2008-04-23 at 13:49 +0100, A Smith wrote:
> >>> How many people do you know who could describe the difference between
> >>> foreach and map in one short paragraph ?

foreach iterates over a list, map transforms a list.


At 18:39 2008-04-23, Frank v Waveren wrote:
>foreach runs a procedure and map runs a function.

I like that one.


/J



More information about the london.pm mailing list