aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-MooseX-NonMoose/pkg-descr
blob: 7803251d8d4ba41cc70ce2403b8e7e43f3e6e744 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.

WWW: https://metacpan.org/release/MooseX-NonMoose