Part of what you should learn from this book is a sense of good Perl style. Style is, of course, a matter of preference and debate. I won't pretend to know or demonstrate The One True Style, but I hope to show readers one example of contemporary, efficient, "effective" Perl style.
The fact that the code appears in a book affects its style somewhat. Examples can't be too verbose or boringeach one has to make one or two specific points without unnecessary clutter. Therefore, you will find the following: