Appendix C. Introduction to Moose (A Postmodern Object System for Perl 5)

Image

Moose offers you an alternative to writing object-oriented Perl the old fashioned way, as described in Chapter 14, “Bless Those Things! (Object-Oriented Perl).” It modernizes Perl’s object system by including features that are familiar to C++ and Java programmers and makes Perl OO more consistent, easier to use, and more powerful. (Moose is based on the idea of meta-object programming, or MOP, which means that the object system itself is an object, a framework built on top of the Perl OO system.)

Moose is an extension of the Perl 5 object system which sweetens the process ...

Get Perl by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.