From: Dave Rolsky Date: Thu, 9 Apr 2009 14:11:27 +0000 (-0500) Subject: Pass @_ from deprecation wrapper X-Git-Tag: 0.82~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e056bd4245c57e24563a47d918872731e77a5e73;p=gitmo%2FClass-MOP.git Pass @_ from deprecation wrapper --- diff --git a/lib/Class/MOP/Attribute.pm b/lib/Class/MOP/Attribute.pm index d8cd283..ca54f25 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 { Carp::cluck('The process_accessors method has been made private.' . " The public version is deprecated and will be removed in a future release.\n"); - shift->_process_accessors; + shift->_process_accessors(@_); } sub _process_accessors {