1MooseX::InsideOut(3) User Contributed Perl Documentation MooseX::InsideOut(3)
2
3
4
6 MooseX::InsideOut - inside-out objects with Moose
7
9 version 0.106
10
12 package My::Object;
13
14 use MooseX::InsideOut;
15
16 # ... normal Moose functionality
17 # or ...
18
19 package My::Subclass;
20
21 use MooseX::InsideOut;
22 extends 'Some::Other::Class';
23
25 MooseX::InsideOut provides metaroles for inside-out objects. That is,
26 it sets up attribute slot storage somewhere other than inside $self.
27 This means that you can extend non-Moose classes, whose internals you
28 either don't want to care about or aren't hash-based.
29
31 init_meta
32 Apply the instance metarole necessary for inside-out storage.
33
35 · dumping (for debugging purposes)
36
37 · serialization (for e.g. storable)
38
39 · (your suggestions here)
40
42 Hans Dieter Pearcey <hdp@cpan.org>
43
45 This software is copyright (c) 2011 by Hans Dieter Pearcey
46 <hdp@cpan.org>.
47
48 This is free software; you can redistribute it and/or modify it under
49 the same terms as the Perl 5 programming language system itself.
50
51
52
53perl v5.28.0 2011-03-06 MooseX::InsideOut(3)