Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

MooseX::InsideOut - inside-out objects with Moose

Author

       Hans Dieter Pearcey <hdp@cpan.org>

Description

       MooseX::InsideOut provides metaroles for inside-out objects.  That is, it sets up attribute slot storage
       somewhere other than inside $self.  This means that you can extend non-Moose classes, whose internals you
       either don't want to care about or aren't hash-based.

Methods

init_meta
       Apply the instance metarole necessary for inside-out storage.

Name

       MooseX::InsideOut - inside-out objects with Moose

Synopsis

         package My::Object;

         use MooseX::InsideOut;

         # ... normal Moose functionality
         # or ...

         package My::Subclass;

         use MooseX::InsideOut;
         extends 'Some::Other::Class';

Todo

       •   dumping (for debugging purposes)

       •   serialization (for e.g. storable)

       •   (your suggestions here)

Version

       version 0.106

See Also