Skip to main content

You are here


Learning Perl Objects, References, and Modules

This book is perfect for any moderate Perl programmer that wants to further understand the concept of object-oriented programming in Perl. The authors did a really good job explain what references are and how they are heavy used in Perl OOP. I have used Perl for a really long time (almost 10 years), and I've always found myself not fully certain aspects of Perl, mainly OOP and how to write modules using an object-oriented paradigm. This book definitely helped me fill in some gaps. Although the book was published in 2003, much of the information still stands. One thing that I would've liked this book had covered, was how to do exception handling in Perl. Thus said, this book will definitely live in my book shelf here and on, and be value reference for any future Perl programming that I'll be doing.

Chapter 1: Introduction
Chapter 2: Building Larger Programs
Chapter 3: Introduction to References
Chapter 4: References and Scoping
Chapter 5: Manipulating Complex Data Structures
Chapter 6: Subroutine References
Chapter 7: Practical Reference Tricks
Chapter 8: Introduction to Objects
Chapter 9: Objects with Data
Chapter 10: Object Destruction
Chapter 11: Some Advance Object Topics
Chapter 12: Using Modules
Chapter 13: Writing a Distribution
Chapter 14: Essential Testing
Chapter 15: Contributing to CPAN

So, if you already fully understand the general theory concept of object-oriented programming and are familiar with Perl, then this short 196 page book is a perfect source to help you expand your Perl hacking skills.

Rating: 4/5
Learning Perl Objects, References, and Modules


Book Category: 

Learning Perl, 5th Edition

I finally finished reading my second book on Perl. Unlike Apress’ Beginning Perl, Learning Perl 5th Edition by Randal Schwartz, Tom Phoenix, and brian d foy is not a book for someone new to programming.
With a solid understanding of dynamic languages like PHP and Ruby, I found most of the material covered on this book very comprehensive, thus said, at times I found myself re-reading portions of the chapters just to understand concept the authors were trying to cover.
For the most part, I read this book jointly with Apress’ Beginning Perl and I found this book to have more practical real word code examples (at least if you’re a sysadmin). The most notably difference on how this book was written for someone who is new to programming with Perl, but to not new to programming are the three chapters the authors dedicate to regular expressions.

Chapter 1: Introduction
Chapter 2: Scalar Data
Chapter 3: Lists and Arrays
Chapter 4: Subroutines
Chapter 5: Input and Output
Chapter 6: Hashes
Chapter 7: In the World of Regular Expressions
Chapter 8: Matching with Regular Expressions
Chapter 9: Processing Text with Regular Expressions
Chapter 10: More Control Structures
Chapter 11: Perl Modules
Chapter 12: File Tests
Chapter 13: Directory Operations
Chapter 14: Strings and Sorting
Chapter 15: Smart Matching and given-when
Chapter 16: Process Management
Chapter 17: Some Advanced Perl Techniques
Chapter 14 Introduction to CGI
Chapter 15: Perl and DBI

I would only suggest this book to someone with a solid knowledge of another scripting language. As Randal Schwartz commented on my original book review in my blog, "if you know why you would want an array, and what a subroutine is for, you’ll probably do ok."

Rating: 3/5
Learning Perl, 5th Edition


Book Category: 

Beginning Perl

It only took me exactly two years to read the Apress book Beginning Perl by James Lee, and I would have to admit this is the best programming book that I’ve read so far. I would need to give this book high praise as it was easy and fun to read ( pretty much taught me programming in Perl. Even tough I don’t use Perl on a daily bases, nor is Perl my prefer language of choice to write scripts ) but thanks to this book I could confidently read other programmers perl code and have an understanding on what’s going on in their program.

Chapter 1: First Steps in Perl
Chapter 2: Scalars
Chapter 3: Control Flow Constructs
Chapter 4: Lists and Arrays
Chapter 5: Hashes
Chapter 6: Subroutines/Functions
Chapter 7: Regular Expressions
Chapter 8: Files and Data
Chapter 9: String Processing
Chapter 10: Interface to the Operating System
Chapter 11: References
Chapter 12: Object-Oriented Perl
Chapter 13: Modules
Chapter 14 Introduction to CGI
Chapter 15: Perl and DBI

I would highly recommended this book to anybody starting or wanting to learn Perl.

Rating: 5/5
Beginning Perl, Second Edition


Book Category: 

Premium Drupal Themes by Adaptivethemes