diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-05-08 00:50:28 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-05-12 22:48:45 -0500 |
commit | 313c5456d5c9461b9cfd19391c8ee79de8eaf351 (patch) | |
tree | 7fbba8d87ee8b05235a5b1a9e56d9030322918d3 /lib | |
parent | 3cd44e1d39ea7c19e41f50c57c27394d837ca233 (diff) | |
download | moosex-nonmoose-313c5456d5c9461b9cfd19391c8ee79de8eaf351.tar.gz moosex-nonmoose-313c5456d5c9461b9cfd19391c8ee79de8eaf351.zip |
update the docs about mx-insideout and mx-globref
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MooseX/NonMoose.pm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/MooseX/NonMoose.pm b/lib/MooseX/NonMoose.pm index c36d3ca..61c3ba5 100644 --- a/lib/MooseX/NonMoose.pm +++ b/lib/MooseX/NonMoose.pm @@ -95,9 +95,13 @@ sub init_meta { =over 4 -=item * The reference that the non-Moose class uses as its instance type B<must> -match the instance type that Moose is using (currently, Moose defaults to -hashref based instances). +=item * The reference that the non-Moose class uses as its instance type +B<must> match the instance type that Moose is using. Moose's default instance +type is a hashref, but other modules exist to make Moose use other instance +types. L<MooseX::InsideOut> is the most general solution - it should work with +any class. For globref-based classes in particular, L<MooseX::GlobRef> will +also allow Moose to work. For more information, see the C<032-moosex-insideout> +and C<033-moosex-globref> tests bundled with this dist. =item * Completely overriding the constructor in a class using C<MooseX::NonMoose> (i.e. using C<sub new { ... }>) currently doesn't work, |