NAME

MooseX::InsideOut - inside-out objects with Moose

VERSION

Version 0.001

SYNOPSIS

package My::Object;

use Moose;
extends 'MooseX::InsideOut';

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

package My::Subclass;

use metaclass 'MooseX::InsideOut::Meta::Class';
use Moose;
extends 'Some::Other::Class;

DESCRIPTION

MooseX::InsideOut provides a metaclass and an instance metaclass for inside-out objects.

You can use MooseX::InsideOut as a normal base class, as in the first example in the "SYNOPSIS".

You can also use the metaclass MooseX::InsideOut::Meta::Class directly, as in the second example. This is most useful when extending a non-Moose class, whose internals you either don't want to care about or aren't hash-based.

TODO

  • dumping (for debugging purposes)

  • serialization (for e.g. storable)

  • (your suggestions here)

AUTHOR

Hans Dieter Pearcey, <hdp at pobox.com>

BUGS

Please report any bugs or feature requests to bug-moosex-insideout at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-InsideOut. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc MooseX::InsideOut

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Hans Dieter Pearcey.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.