From: Jesse Luehrs Date: Fri, 6 May 2011 21:24:13 +0000 (-0500) Subject: drop docs for the old extension stuff from Moose.pm X-Git-Tag: 2.0100~165 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a661cd1d7a6620cd8f746f351180d15d31b6e905;p=gitmo%2FMoose.git drop docs for the old extension stuff from Moose.pm --- diff --git a/lib/Moose.pm b/lib/Moose.pm index a084be0..b587a1f 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -871,38 +871,9 @@ to work. Here is an example: To learn more about extending Moose, we recommend checking out the "Extending" recipes in the L, starting with L, which provides an overview of -all the different ways you might extend Moose. - -=head2 B<< Moose->init_meta(for_class => $class, base_class => $baseclass, metaclass => $metaclass) >> - -The C method sets up the metaclass object for the class -specified by C. This method injects a a C accessor -into the class so you can get at this object. It also sets the class's -superclass to C, with L as the default. - -C returns the metaclass object for C<$class>. - -You can specify an alternate metaclass with the C option. - -For more detail on this topic, see L. - -This method used to be documented as a function which accepted -positional parameters. This calling style will still work for -backwards compatibility, but is deprecated. - -=head2 B - -Moose's C method supports the L form of C<{into =E $pkg}> -and C<{into_level =E 1}>. - -B: Doing this is more or less deprecated. Use L -instead, which lets you stack multiple C-alike modules -sanely. It handles getting the exported functions into the right place -for you. - -=head2 B - -An alias for C, used internally by Moose. +all the different ways you might extend Moose. L and +L are the modules which provide the majority of the +extension functionality, so reading their documentation should also be helpful. =head2 The MooseX:: namespace