Programming with Moose/Syntax/Non-polluting fully-qualified syntax

From Wikibooks, open books for an open world
< Programming with Moose‎| Syntax
Jump to navigation Jump to search

Moose does a lot of what it does by requiring other stuff. This is common in the perl world, here we will document some of the functions these other modules use that might be of interest to you.

Class::MOP[edit| edit source]

Class::MOP is the framework that Moose is built upon, check out a list of their functions on the official docs.

This function is awesome no more going to filenames from module names, let Class::MOP (Moose's underpinning) do it for you! load_class returns the meta for the loaded class.