FreeBSD.software
Home/devel/p5-MooseX-NonMoose

p5-MooseX-NonMoose

0.27devel

Easy subclassing of non-Moose classes

MooseX::NonMoose allows for easily subclassing non-Moose classes with Moose, taking care of the annoying details connected with doing this, such as setting up proper inheritance from Moose::Object and installing (and inlining, at make_immutable time) a constructor that makes sure things like BUILD methods are called. It tries to be as non-intrusive as possible - when this module is used, inheriting from non-Moose classes and inheriting from Moose classes should work identically, aside from the few caveats mentioned below. One of the goals of this module is that including it in a Moose::Exporter-based package used across an entire application should be possible, without interfering with classes that only inherit from Moose modules, or even classes that don't inherit from anything at all.

$pkg install p5-MooseX-NonMoose
metacpan.org/release/MooseX-NonMoose
Origin
devel/p5-MooseX-NonMoose
Size
57.3KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
5 packages
Required by
10 packages

Dependencies (5)

Required By (10)