4 package MooseX::InsideOut;
6 use MooseX::InsideOut::Meta::Class;
7 BEGIN { require Moose }
10 our $VERSION = '0.003';
15 if (@_) { Carp::confess "$class has no exports" }
19 return if $into eq 'main';
24 'MooseX::InsideOut::Meta::Class',
27 Moose->import({ into => $into });
37 MooseX::InsideOut - inside-out objects with Moose
47 use MooseX::InsideOut;
49 # ... normal Moose functionality
54 use metaclass 'MooseX::InsideOut::Meta::Class';
56 extends 'Some::Other::Class';
60 MooseX::InsideOut provides a metaclass and an instance metaclass for inside-out
63 You can use MooseX::InsideOut, as in the first example in the L</SYNOPSIS>.
64 This sets up the metaclass and instance metaclass for you, as well as importing
65 all of the normal Moose goodies.
67 You can also use the metaclass C<MooseX::InsideOut::Meta::Class> directly, as
68 in the second example. This is most useful when extending a non-Moose class,
69 whose internals you either don't want to care about or aren't hash-based.
75 =item * dumping (for debugging purposes)
77 =item * serialization (for e.g. storable)
79 =item * (your suggestions here)
85 Hans Dieter Pearcey, C<< <hdp at pobox.com> >>
89 Please report any bugs or feature requests to C<bug-moosex-insideout at rt.cpan.org>, or through
90 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-InsideOut>. I will be notified, and then you'll
91 automatically be notified of progress on your bug as I make changes.
95 You can find documentation for this module with the perldoc command.
97 perldoc MooseX::InsideOut
100 You can also look for information at:
104 =item * RT: CPAN's request tracker
106 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-InsideOut>
108 =item * AnnoCPAN: Annotated CPAN documentation
110 L<http://annocpan.org/dist/MooseX-InsideOut>
114 L<http://cpanratings.perl.org/d/MooseX-InsideOut>
118 L<http://search.cpan.org/dist/MooseX-InsideOut>
123 =head1 ACKNOWLEDGEMENTS
126 =head1 COPYRIGHT & LICENSE
128 Copyright 2008 Hans Dieter Pearcey.
130 This program is free software; you can redistribute it and/or modify it
131 under the same terms as Perl itself.