REVIEW - Mastering Algorithms with Perl


Mastering Algorithms with Perl


Jon Orwant, Jarkko Hietaniemi, John Macdonald



O'Reilly (1999)




Jon Wilks


April 2000



The book is concise and at the standard you would expect from O'Reilly

If you are a serious Perl programmer and are looking to improve your skills, should you buy this book on algorithms? If you have ever studied algorithms and data structures then balanced trees and O(N) notation may still be a painful memory. Also, part of Perl's strength is in its built in parsing and sorting features so why would you need to know otherways of doing the same job? If your work does not challenge Perl's features then you probably do not. However, should you have no computer science background and Perl is your language of choice then this book requires serious consideration.

The book is concise and at the standard you would expect from O'Reilly. The advice given in concepts like choosing an appropriate data structure or in benchmarking your program is actually quite sound. It covers a wide area for example sorting, searching, sets and matrices together with material you may not find in a data structures book like geometry, cryptography and statistics. Most chapters refer to the CPAN where relevant modules may exist.

Your choice depends on the task at hand. If you fancy a Perl book where you can find routines to encrypt a string or find the maximum distance between two points then this book will not disappoint. Indeed, I believe that anyone serious about his or her trade would benefit greatly from Computer Science study. However if you still have that copy of Tenenbaum on the shelf then perhaps O'Reilly's 'Perl Cookbook' may prove a better choice.

Book cover image courtesy of Open Library.

Your Privacy

By clicking "Accept All Cookies" you agree ACCU can store cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

By clicking "Share IP Address" you agree ACCU can forward your IP address to third-party sites to enhance the information presented on the site, and that these sites may store cookies on your device.