Remove alias_method (it's been deprecated since 0.73_01)
Dave Rolsky [Wed, 14 Jul 2010 16:25:28 +0000 (11:25 -0500)]
lib/Moose/Meta/Role.pm

index 6cad876..2650c3e 100644 (file)
@@ -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
 ## ------------------------------------------------------------------