From: Dave Rolsky Date: Sun, 5 Apr 2009 21:12:50 +0000 (-0500) Subject: Make the deprecation warning for attributes match all other similar X-Git-Tag: 0.80_01~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d766878de01b3726c6ff3e36c3190f10fa50cb02;p=gitmo%2FClass-MOP.git Make the deprecation warning for attributes match all other similar warnings. --- diff --git a/lib/Class/MOP/Method/Constructor.pm b/lib/Class/MOP/Method/Constructor.pm index 65a3507..4891ef9 100644 --- a/lib/Class/MOP/Method/Constructor.pm +++ b/lib/Class/MOP/Method/Constructor.pm @@ -73,8 +73,8 @@ sub _meta_instance { } sub attributes { - warn 'The attributes method is deprecated.' - . " Use _attributes instead.\n"; + warn 'The attributes method has been made private.' + . " The public version is deprecated and will be removed in a future release.\n"; return shift->_attributes; }