From: gfx Date: Thu, 9 Sep 2010 09:24:05 +0000 (+0900) Subject: Remove long deprecated methods X-Git-Tag: 0.65~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0d746d2f364b97682306cd942d4ad0f6a96897e;p=gitmo%2FMouse.git Remove long deprecated methods --- diff --git a/lib/Mouse/Meta/Attribute.pm b/lib/Mouse/Meta/Attribute.pm index a820d3e..21af554 100644 --- a/lib/Mouse/Meta/Attribute.pm +++ b/lib/Mouse/Meta/Attribute.pm @@ -91,11 +91,6 @@ sub new { sub has_read_method { $_[0]->has_reader || $_[0]->has_accessor } sub has_write_method { $_[0]->has_writer || $_[0]->has_accessor } -sub _create_args { # DEPRECATED - $_[0]->{_create_args} = $_[1] if @_ > 1; - $_[0]->{_create_args} -} - sub interpolate_class{ my($class, $args) = @_; diff --git a/lib/Mouse/Meta/Class.pm b/lib/Mouse/Meta/Class.pm index 6028ed8..a3fe71b 100644 --- a/lib/Mouse/Meta/Class.pm +++ b/lib/Mouse/Meta/Class.pm @@ -223,27 +223,11 @@ sub add_attribute { return $attr; } -sub compute_all_applicable_attributes { # DEPRECATED - Carp::cluck('compute_all_applicable_attributes() has been deprecated. Use get_all_attributes() instead'); - - return shift->get_all_attributes(@_) -} - sub linearized_isa; sub new_object; sub clone_object; - -sub clone_instance { # DEPRECATED - my ($class, $instance, %params) = @_; - - Carp::cluck('clone_instance() has been deprecated. Use clone_object() instead'); - - return $class->clone_object($instance, %params); -} - - sub immutable_options { my ( $self, @args ) = @_; @@ -255,7 +239,6 @@ sub immutable_options { ); } - sub make_immutable { my $self = shift; my %args = $self->immutable_options(@_);