O'Reilly logo

Catalyst 5.8 by Antano Solar John

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Moose

Support for object orientation in Perl was added later on and one has to build these features into their packages from startup. However, fortunately, there are many packages that extend the object orientation of Perl, just like there are many templating engines. Moose is the most widely accepted and promising extension of Perl's object orientation. Catalyst itself as of version 5.8 is rewritten to use Moose. Moose is based on Class-MOP, which implements the meta object protocol (MOP) in Perl. This allows MooseX extensions to be used in combination in a single class without them bothering each other. It also makes classes inspectable, which allows for things such as form generation by reflection of class attributes. In this chapter, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required