Pregunta de entrevista de Booking.com

Explain map and grep functions in Perl?

Respuesta de la entrevista

Anónimo

20 de nov de 2012

Grep loops over a list and returns the list item if the condition is meet. Map loops over a list and return a value based on the code block.