X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FModule.pm;h=3305564e4806cf5346e9e66f2c0c9768f99d61bb;hb=59afef985b4a8c91e505715d75457b35656e4013;hp=fca37787c0a2077d8d0f0ef645ed90f3244a9ff7;hpb=26f0aa174f72fdf5fd803278212b7cefa83c8734;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Meta/Module.pm b/lib/Mouse/Meta/Module.pm index fca3778..3305564 100644 --- a/lib/Mouse/Meta/Module.pm +++ b/lib/Mouse/Meta/Module.pm @@ -14,12 +14,6 @@ if(Mouse::Util::MOUSE_XS){ *CLONE = sub { Mouse::Util::__register_metaclass_storage(\%METAS, 1) }; } -sub _metaclass_cache { # DEPRECATED - my($self, $name) = @_; - Carp::cluck('_metaclass_cache() has been deprecated. Use Mouse::Util::get_metaclass_by_name() instead'); - return $METAS{$name}; -} - sub initialize { my($class, $package_name, @args) = @_; @@ -52,7 +46,8 @@ sub _class_of{ } # Means of accessing all the metaclasses that have -# been initialized thus far +# been initialized thus far. +# The public versions are aliased into Mouse::Util::*. #sub _get_all_metaclasses { %METAS } sub _get_all_metaclass_instances { values %METAS } sub _get_all_metaclass_names { keys %METAS } @@ -133,7 +128,7 @@ sub get_method_list { return grep { $self->has_method($_) } keys %{ $self->namespace }; } -sub _collect_methods { # Mouse specific +sub _collect_methods { # Mouse specific, used for method modifiers my($meta, @args) = @_; my @methods; @@ -315,7 +310,7 @@ Mouse::Meta::Module - The common base class of Mouse::Meta::Class and Mouse::Met =head1 VERSION -This document describes Mouse version 0.77 +This document describes Mouse version 0.84 =head1 DESCRIPTION