Shop now Shop now Shop now See more Shop all Amazon Fashion Cloud Drive Photos Shop now Learn More Shop now DIYED Shop now Shop Fire Shop now Shop now
Customer Review

1 of 1 people found the following review helpful
4.0 out of 5 stars More than objects, but a wee bit long in the tooth now, 15 July 2007
This review is from: Object Oriented Perl (Paperback)
This is a fine book, but the passage of time has rendered some parts of it less relevant.

As an introduction to object oriented programming, and how to do it in Perl, this is one of the best sources you could learn from. Neither The Alpaca nor The Camel do such a good job.

And it's not just objects that are well covered. You'll also find lucid explanations of closures, type globs, the symbol table and tied variables, all of which can be considered advanced Perl.

Elsewhere, though, the material has not aged so well, superseded by the author's own Perl Best Practices, where some of the recommendations have been reversed, or improved upon ('inside out' classes, for example, as implemented in Class::Std, is a superior development of the flyweight approach mentioned in this book). Some of the material, which concentrates on CPAN modules, and the experimental pseudohashes is not so useful in the light of this - the latter are on course to be removed in Perl 5.10. The sections on building objects using references to things other than hashes (e.g. arrays, regular expressions and subroutines) is clever, but this reader was unconvinced of their utility.

There's also coverage of generics, although in Perl this is not much like generics in C# or Java, basically passing around Perl code as uninterpolated text strings and then evaling it inside a subroutine, where any lexical values are interpolated.

Finally, there are chapters on multimethods (no more elegant or manageable in Perl than other languages that support this feature, alas) and persistence.

The principles discussed remain relevant, and the book is a pleasure to read. However, if you already familiar with OOP and just want to get going as fast as possible, the relevant chapters of Intermediate Perl and Perl Best Practices might be better places to look.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Be the first person to comment on this review.

[Add comment]
Post a comment
To insert a product link use the format: [[ASIN:ASIN product-title]] (What's this?)
Amazon will display this name with all your submissions, including reviews and discussion posts. (Learn more)
Name:
Badge:
This badge will be assigned to you and will appear along with your name.
There was an error. Please try again.
Please see the full guidelines ">here.

Official Comment

As a representative of this product you can post one Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
The following name and badge will be shown with this comment:
 (edit name)
After clicking on the Post button you will be asked to create your public name, which will be shown with all your contributions.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.  Learn more
Otherwise, you can still post a regular comment on this review.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
 
System timed out

We were unable to verify whether you represent the product. Please try again later, or retry now. Otherwise you can post a regular comment.

Since you previously posted an Official Comment, this comment will appear in the comment section below. You also have the option to edit your Official Comment.   Learn more
The maximum number of Official Comments have been posted. This comment will appear in the comment section below.   Learn more
Prompts for sign-in
  [Cancel]


Review Details

Item

4.8 out of 5 stars (5 customer reviews)


3 star
0

2 star
0

1 star
0

£1.10
Add to wishlist
Reviewer


Top Reviewer Ranking: 1,440,349