Slashdot Mirror


The Road To Better Perl Programming: Chapter 4

Frank writes: "This series of articles on developerWorks comprises a complete guide to better programming in Perl. In this fourth installment, Teodor introduces functional programming and several essential Perl idioms important for Perl programmers looking for speed and elegance in their code, such as the map() and grep() functions, and the Schwartzian and Guttman-Rosler transforms."

1 of 9 comments (clear)

  1. a light dawns... by sohp · · Score: 2, Interesting

    Nice nice article. Despite having used Perl for a number of years and become quite proficient in most parts of the language, I never really "got" the use of map and grep. Zlatanov's two central tips, "read from right to left" and "it's like foreach without an explicit looping condition" finally brought the principles home to me. I can finally read and understand The Schwartzian Transform!