From 313c5456d5c9461b9cfd19391c8ee79de8eaf351 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 8 May 2009 00:50:28 -0500 Subject: update the docs about mx-insideout and mx-globref --- lib/MooseX/NonMoose.pm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib') 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 -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 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 is the most general solution - it should work with +any class. For globref-based classes in particular, L 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 (i.e. using C) currently doesn't work, -- cgit v1.2.3-54-g00ecf