Learning Perl Objects, References, and Modules
Author: Randal L. Schwartz
Publisher: O’Reilly Media
Publication Date: 2003-06-09
ISBN-10: 0596004788
ISBN-13: 9780596004781
Paperback: 205 Pages Learning Perl Objects, References & Modules offers a gentle but thorough introduction to advanced programming in Perl. Written by the authors of the best-selling Learning Perl, this book picks up where that book left off. Topics include:
Packages and namespaces
References and scoping
Manipulating complex data structures
Object-oriented programming
Writing and using modules
Contributing to CPAN
Following the successful format of Learning Perl, each chapter in the book is designed to be small enough to be read in just an hour or two, ending with a series of exercises to help you practice what you’ve learned. To use the book, you just need to be familiar with the material in Learning Perl and have ambition to go further. Perl is a different language to different people. It is a quick scripting tool for some, and a fully-featured object-oriented language for others. It is used for everything from performing quick global replacements on text files, to crunching huge, complex sets of scientific data that take weeks to process. Perl is what you make of it. But regardless of what you use Perl for, this book helps you do it more effectively, efficiently, and elegantly.
Note: We do not host these ebook files. If you have any complaint of copyright, please comment or contact us.
We'll remove the download link immediatly!
Learning Drupal 6 Module Development: A practical tutorial for creating your first Drupal 6 modules with PHP
Author: Matt Butcher
Publisher: Packt Publishing
Publication Date: 2008-05-08
ISBN-10: 1847194443
ISBN-13: 9781847194442
Paperback: 328 Pages
In Detail
With great power comes... tremendous flexibility. Drupal is an award-winning ... Download
Microsoft Office Excel 2007: The L Line, The Express Line to Learning
Author: Kathy Jacobs
Publisher: Wiley; illustrated edition edition
Publication Date: 2007-05-07
ISBN-10: 047010788X
ISBN-13: 9780470107881
Paperback: 470 Pages
Get on the fast track to mastering Excel
Want to find success in your profession ... Download
Web-based Learning Solutions for Communities of Practice: Developing Virtual Environments for Social and Pedagogical Advancement
Author: Nikos Karacapilidis
Publisher: Information Science Reference
Publication Date: 2009-07-31
ISBN-10: 1605667110
ISBN-13: 9781605667119
Hardcover: 394 Pages
The proper exploitation of Web-based technologies towards building responsive environments that motivate, ... Download
OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1
Author: Dave Shreiner, The Khronos OpenGL ARB Working Group
Publisher: Addison-Wesley Professional; 7 edition
Publication Date: 2009-07-31
ISBN-10: 0321552628
ISBN-13: 9780321552624
Paperback: 936 Pages
OpenGL is a powerful software interface ... Download
Learning C#
Author: Jesse Liberty
Publisher: O'Reilly Media
Publication Date: 2002-09
ISBN-10: 0596003765
ISBN-13: 9780596003760
Paperback: 368 Pages
Jesse Liberty, author of the best-selling books Programming C# and Programming ASP.NET, has written an entry-level guide to C#. Written in a warm and friendly manner, ... Download
Learning jQuery: Better Interaction Design and Web Development with Simple JavaScript Techniques by Jonathan Chaffer , Karl Swedberg Paperback: 380 pages
Publisher: Packt Publishing (July 7, 2007)
Language: English
ISBN-10: 1847192505
ISBN-13: 978-1847192509
... Download
Principles and Theory for Data Mining and Machine Learning (Springer Series in Statistics) by Bertrand Clarke, Ernest Fokoue, Hao Helen Zhang Hardcover: 786 pages
Publisher: Springer; 1 edition (July 30, 2009)
Language: English
ISBN-10: 0387981349
ISBN-13: 978-0387981345
... Download
Learning the UNIX Operating System (In a Nutshell) by Grace Todino-Gonguet, John Strang, Jerry Peek Paperback: 100 pages
Publisher: O'Reilly; 4 edition (December 1, 1997)
Language: English
ISBN-10: 1565923901
ISBN-13: 978-1565923904
... Download
I wanted to learn about Perl objects and this book is not for me. I need an easier book for me (thats just me) I cant study the material at all once I got to Chapter 4. I feel degraded and stupid because I read all the good reviews. The examples are good until Chapter 4. After that the code is fun to read and learning is not all hard with just some effort. Very scary indeed though on Chapter 4! I think most of the readers here have already a C background. Its not the book is bad but very strange indeed on Chapter 4. The part where the author talks about auto vivication is very strange because there is no mention of how you should analyze the data nor any code example. I got scared and have lost my confidence trying to learn perl. I honestly just dont like Chapter 4; and all the time I have tried to decipher what the author is trying to teach. I just love to waste my time when Im not working and sitting here for 5 hours trying to figure out the example, however the book is to be read and Im sure I’ll figure out the difficulties! So take time to read this book. Those are just the examples I found that I did not appreciate.
Rating: 1 / 5
“Perl Objects, References & Modules” written by Randal L. Schwartz is an overpriced, botched work that does not meet the quality of the first well-known “llama” book.
Just 220 pages for such complex topics like OOP are simply too less allowing novice programmers to get familiar with. Many provided examples are highly complicated and lacking of good explanation.
Sure, this book discusses advanced topics of Perl and therefore is also dedicated to the more experienced user, but it still is a book for people wanting to learn this great programming language – unfortunately they face a hard time when trying to do so.
Well, Mr. Schwartz stated at the preface of this book that it was mainly written in a bar (with some beer, I guess). And yes, it reads like that…
Rating: 1 / 5
This book does a great job on helping you grasp the concepts of objects and oop related concepts. I already know perl well, and use daily as part of my job. But I’m so used to procedural programming that I sometimes forget the details about oop. This book helps remind me about oop, and I try to use the examples here when coding new stuff
Rating: 5 / 5
This book attempts something very interesting: not just to describe “how” central aspects of Perl work, but also to understand the process of “how Perl got there”. Thus, the book does not serve the “conclusions” right away; it reaches them via a series of experimentations and improvements (in fact, similarly to what is done in other sciences).
To make it interesting (and humorous but realistic at the same time) the book presents a band of “software sailors”, who write navigation software. They quickly discover the pleasures of workgroup development; they start reusing software with “eval” (on library files), they then limit unwanted effects with “do”, to finally adopt “require” to pull a file only once. Then, after chaos still erupts on name collisions (two different “turn_to_port” routines with the same name, which send one boat into a loop..), the sailors discover “package”, and finally, the fleet can proceed with a certain harmony [note: given the structure of the book, "use" will be introduced a lot later, in chapter 12].
This is a very original software lesson; for anyone who reads chapter 2, it will be hard to see the line “package Xyz” and not smile remembering (at least once) the conflicts between Skipper & Gilligan. This is great teaching, as your mind associates a “scenario”, not just a “habit”, to a programming line.
There are other chapters equally brilliant; more than the “Object” chapters, I liked especially the one on “Subroutine References”. It begins explaining how to reference a named subroutine, and it then builds a hash of sub references. Then, it prods us to do the next logical step (with a trick which recurs along the book: “why waste some brain cells to define a name for each subroutine, to only use it to initialize the data structure?”), gently pushing the reader to accept “anonymous” subroutines, code them in the hash structure itself, and enjoy the remarkable simplification of the code that results! The stage is now set to introduce “Callbacks”, and then “Closures”; again, with the same method of “one evolution at the time”:
a) first a variable is declared to hold the callback, followed by a naked block with a private context and the callback assignment.
b) then the code is simplified with a subroutine encharged to contain the variables on which the closure is done and to return the reference to the anonymous subroutine.
c) last, it shows how the same subroutine can be invoked simultaneously, keeping its own context in every call.
I must say that, after you begin to realize the power of “Closures” (I went back to read “Programming Perl”, p 260-262, to fully understand it), you regret that the only example given by the book is so elementary (findFile). Imagine instead, to remain with the sailors theme, a routine which computes a boat trajectory (closing on boat’s initial position, velocity, etc), and a main routine instantiating multiple boats and launching them in a race. Multiple automatas in action (with a few lines of code!); this would close the chapter in full glory.
More than once you have the strange feeling that the book was written under a constraint of having less than 200 pages. Examples: it presents a remarkable lesson on Autovivification, but fails to alert against unvoluntary autovivifications (when testing structures for existence).
Or see for, in chapter 2, the section “Packages and Lexicals” whose first line is: “A lexical variable isn’t prefixed by the current package because package variables are always global”. The statement is not false but it is so awkward at the start a section (“X does not have property Z, because only Y has Z”). Why not to spend a few pages, mentioning the Perl symbol table and on this basis explain concretely the difference between “lexical, global, local”? else, everything remains so abstract.
Still, these are minor defects of an unique remarkable book. The introduction mentions that the material is built on the Stonehenge courses; for all of us without the opportunity to attend them, but able to read, think and experiment, this book is an excellent deal to “see” the Stonehenge people in action.
Rating: 4 / 5
Germany For Dummies
Author: Donald Olson
Publisher: For Dummies; 4 edition
Publication Date: 2009-07-27
ISBN-10: 0470474025
ISBN-13: 9780470474020
Paperback: 480 Pages
From the Bavarian Alps to the Rhine, from ...
TCP/IP For Dummies
Author: Candace Leiden, Marshall Wilensky
Publisher: For Dummies; 6 edition
Publication Date: 2009-08-11
ISBN-10: 0470450606
ISBN-13: 9780470450604
Paperback: 456 Pages
Packed with the latest information on ...
ASUS Eee PC For Dummies
Author: Joel McNamara
Publisher: For Dummies; illustrated edition edition
Publication Date: 2008-12-10
ISBN-10: 0470411546
ISBN-13: 9780470411544
Paperback: 384 Pages
What can you do with ...
Visio 2007 For Dummies
Author: John Paul Mueller, Debbie Walkowski
Publisher: For Dummies
Publication Date: 2006-12-18
ISBN-10: 0470089830
ISBN-13: 9780470089835
Paperback: 387 Pages
Reveal your inner business artist with ...
Outlook 2007 For Dummies
Author: Bill Dyszel
Publisher: For Dummies
Publication Date: 2006-12-26
ISBN-10: 0470038306
ISBN-13: 9780470038307
Paperback: 384 Pages
Most users take advantage of only two percent of ...
Excel 2007 For Dummies
Author: Greg Harvey
Publisher: For Dummies
Publication Date: 2006-12-26
ISBN-10: 0470037377
ISBN-13: 9780470037379
Paperback: 416 Pages
One look at Excel 2007, with its new Office ...
I wanted to learn about Perl objects and this book is not for me. I need an easier book for me (thats just me)
I cant study the material at all once I got to Chapter 4.
I feel degraded and stupid because I read all the good reviews.
The examples are good until Chapter 4. After that the code is fun to read and learning is not all hard with just some effort. Very scary indeed though on Chapter 4! I think most of the readers here have already a C background.
Its not the book is bad but very strange indeed on Chapter 4.
The part where the author talks about auto vivication is very strange because there is no mention of how you should analyze the data nor any code example. I got scared and have lost my confidence trying to learn perl. I honestly just dont like
Chapter 4; and all the time I have tried to decipher what the author is trying to teach. I just love to waste my time when Im not working and sitting here for 5 hours trying to figure out the example, however the book is to be read and Im sure I’ll figure out the difficulties! So take time to read this book. Those are just the examples I found that I did not appreciate.
Rating: 1 / 5
[Reply]
This book is perfect if you want to expand your perl horizon. It only gets 4 stars because, hey, I can’t give everything five stars.
Rating: 4 / 5
[Reply]
“Perl Objects, References & Modules” written by Randal L. Schwartz is an overpriced, botched work that does not meet the quality of the first well-known “llama” book.
Just 220 pages for such complex topics like OOP are simply too less allowing novice programmers to get familiar with. Many provided examples are highly complicated and lacking of good explanation.
Sure, this book discusses advanced topics of Perl and therefore is also dedicated to the more experienced user, but it still is a book for people wanting to learn this great programming language – unfortunately they face a hard time when trying to do so.
Well, Mr. Schwartz stated at the preface of this book that it was mainly written in a bar (with some beer, I guess). And yes, it reads like that…
Rating: 1 / 5
[Reply]
This book does a great job on helping you grasp the concepts of objects and oop related concepts. I already know perl well, and use daily as part of my job. But I’m so used to procedural programming that I sometimes forget the details about oop. This book helps remind me about oop, and I try to use the examples here when coding new stuff
Rating: 5 / 5
[Reply]
This book attempts something very interesting: not just to describe “how” central aspects of Perl work, but also to understand the process of “how Perl got there”. Thus, the book does not serve the “conclusions” right away; it reaches them via a series of experimentations and improvements (in fact, similarly to what is done in other sciences).
To make it interesting (and humorous but realistic at the same time) the book presents a band of “software sailors”, who write navigation software. They quickly discover the pleasures of workgroup development; they start reusing software with “eval” (on library files), they then limit unwanted effects with “do”, to finally adopt “require” to pull a file only once. Then, after chaos still erupts on name collisions (two different “turn_to_port” routines with the same name, which send one boat into a loop..), the sailors discover “package”, and finally, the fleet can proceed with a certain harmony [note: given the structure of the book, "use" will be introduced a lot later, in chapter 12].
This is a very original software lesson; for anyone who reads chapter 2, it will be hard to see the line “package Xyz” and not smile remembering (at least once) the conflicts between Skipper & Gilligan. This is great teaching, as your mind associates a “scenario”, not just a “habit”, to a programming line.
There are other chapters equally brilliant; more than the “Object” chapters, I liked especially the one on “Subroutine References”. It begins explaining how to reference a named subroutine, and it then builds a hash of sub references. Then, it prods us to do the next logical step (with a trick which recurs along the book: “why waste some brain cells to define a name for each subroutine, to only use it to initialize the data structure?”), gently pushing the reader to accept “anonymous” subroutines, code them in the hash structure itself, and enjoy the remarkable simplification of the code that results! The stage is now set to introduce “Callbacks”, and then “Closures”; again, with the same method of “one evolution at the time”:
a) first a variable is declared to hold the callback, followed by a naked block with a private context and the callback assignment.
b) then the code is simplified with a subroutine encharged to contain the variables on which the closure is done and to return the reference to the anonymous subroutine.
c) last, it shows how the same subroutine can be invoked simultaneously, keeping its own context in every call.
I must say that, after you begin to realize the power of “Closures” (I went back to read “Programming Perl”, p 260-262, to fully understand it), you regret that the only example given by the book is so elementary (findFile). Imagine instead, to remain with the sailors theme, a routine which computes a boat trajectory (closing on boat’s initial position, velocity, etc), and a main routine instantiating multiple boats and launching them in a race. Multiple automatas in action (with a few lines of code!); this would close the chapter in full glory.
More than once you have the strange feeling that the book was written under a constraint of having less than 200 pages. Examples: it presents a remarkable lesson on Autovivification, but fails to alert against unvoluntary autovivifications (when testing structures for existence).
Or see for, in chapter 2, the section “Packages and Lexicals” whose first line is: “A lexical variable isn’t prefixed by the current package because package variables are always global”. The statement is not false but it is so awkward at the start a section (“X does not have property Z, because only Y has Z”). Why not to spend a few pages, mentioning the Perl symbol table and on this basis explain concretely the difference between “lexical, global, local”? else, everything remains so abstract.
Still, these are minor defects of an unique remarkable book. The introduction mentions that the material is built on the Stonehenge courses; for all of us without the opportunity to attend them, but able to read, think and experiment, this book is an excellent deal to “see” the Stonehenge people in action.
Rating: 4 / 5
[Reply]