From: Dave Rolsky Date: Wed, 14 Jul 2010 16:25:28 +0000 (-0500) Subject: Remove alias_method (it's been deprecated since 0.73_01) X-Git-Tag: 1.09~42 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=49c4d7468795378b66df85894e8e2bf8e27ca02c;p=gitmo%2FMoose.git Remove alias_method (it's been deprecated since 0.73_01) --- diff --git a/lib/Moose/Meta/Role.pm b/lib/Moose/Meta/Role.pm index 6cad876..2650c3e 100644 --- a/lib/Moose/Meta/Role.pm +++ b/lib/Moose/Meta/Role.pm @@ -391,14 +391,6 @@ sub does_role { sub find_method_by_name { (shift)->get_method(@_) } -sub alias_method { - Carp::cluck("The alias_method method is deprecated. Use add_method instead.\n"); - - my $self = shift; - - $self->add_method(@_); -} - ## ------------------------------------------------------------------ ## role construction ## ------------------------------------------------------------------