Search results for "dist:Moose Exporter"
Moose::Exporter - make an import() and unimport() just like Moose.pm
This module encapsulates the exporting of sugar functions in a "Moose.pm"-like manner. It does this by building custom "import" and "unimport" methods for your module, based on a spec you provide. It also lets you "stack" Moose-alike modules so you c...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC
Moose - A postmodern object system for Perl 5
Moose is an extension of the Perl 5 object system. The main goal of Moose is to make Perl 5 Object Oriented programming easier, more consistent, and less tedious. With Moose you can think more about what you want to do and less about the mechanics of...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC
Moose::Manual::Delta - Important Changes in Moose
This documents any important or noteworthy changes in Moose, with a focus on things that affect backwards compatibility. This does duplicate data from the Changes file, but aims to provide more details and when possible workarounds. Besides helping k...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC
Moose::Util::MetaRole - Apply roles to any metaclass, as well as the object base class
This utility module is designed to help authors of Moose extensions write extensions that are able to cooperate with other Moose extensions. To do this, you must write your extensions as roles, which can then be dynamically applied to the caller's me...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC
Moose::Cookbook::Snack::Keywords - Restricted "keywords" in Moose
Moose exports a number of sugar functions in order to emulate Perl built-in keywords. These can cause clashes with other user-defined functions. This document provides a list of those keywords for easy reference. The 'meta' keyword "use Moose" adds a...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC
Moose::Cookbook::Extending::ExtensionOverview - Moose extension overview
Moose provides several ways in which extensions can hook into Moose and change its behavior. Moose also has a lot of behavior that can be changed. This recipe will provide an overview of each extension method and give you some recommendations on what...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC
Moose::Cookbook::Meta::GlobRef_InstanceMetaclass - Creating a glob reference meta-instance class
This recipe shows how to build your own meta-instance. The meta instance is the metaclass that creates object instances and helps manages access to attribute slots. In this example, we're creating a meta-instance that is based on a glob reference rat...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC
Moose::Cookbook::Extending::Mooseish_MooseSugar - Acting like Moose.pm and providing sugar Moose-style
This recipe expands on the use of Moose::Exporter we saw in Moose::Cookbook::Extending::ExtensionOverview and the class metaclass trait we saw in Moose::Cookbook::Meta::Table_MetaclassTrait. In this example we provide our own metaclass trait, and we ...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC
Moose::Cookbook::Extending::Debugging_BaseClassRole - Providing a role for the base object class
In this example, we provide a role for the base object class that adds some simple debugging output. Every time an object is created, it spits out a warning saying what type of object it was. Obviously, a real debugging role would do something more i...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC
Moose::Cookbook::Legacy::Debugging_BaseClassReplacement - Providing an alternate base object class
WARNING: Replacing the base class entirely, as opposed to applying roles to the base class, is strongly discouraged. This recipe is provided solely for reference when encountering older code that does this. A common extension is to provide an alterna...
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC