X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FClass%2FMOP%2FAttribute.pm;h=9340f352d9c2ae65f1080c4dbb8d9322aa6984e6;hb=da1bebb6a46a770cee8fe206b15998ba8db84e51;hp=515aa5ba38b3e652fa9bbda0d1701ae6bed0b5a8;hpb=9f363af3c2b3dc71843128852413558e6d0353b9;p=gitmo%2FClass-MOP.git diff --git a/lib/Class/MOP/Attribute.pm b/lib/Class/MOP/Attribute.pm index 515aa5b..9340f35 100644 --- a/lib/Class/MOP/Attribute.pm +++ b/lib/Class/MOP/Attribute.pm @@ -331,7 +331,7 @@ sub accessor_metaclass { 'Class::MOP::Method::Accessor' } sub process_accessors { warn 'The process_accessors method has been made private.' . " The public version is deprecated and will be removed in a future release.\n"; - goto &_process_accessors; + shift->_process_accessors; } sub _process_accessors {