From: Dave Rolsky Date: Sat, 28 Aug 2010 01:15:11 +0000 (-0500) Subject: Restore alias & excludes warning X-Git-Tag: 1.12~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=36b629099b6ba3aa8c6f5af21da92f142cccdbcf;p=gitmo%2FMoose.git Restore alias & excludes warning --- diff --git a/lib/Moose/Meta/Role/Application.pm b/lib/Moose/Meta/Role/Application.pm index d5e42d9..d71c6bd 100644 --- a/lib/Moose/Meta/Role/Application.pm +++ b/lib/Moose/Meta/Role/Application.pm @@ -24,11 +24,11 @@ sub new { my ($class, %params) = @_; if ( exists $params{excludes} || exists $params{alias} ) { -# Moose::Deprecated::deprecated( -# feature => 'alias or excludes', -# message => -# "The alias and excludes options for role application have been renamed -alias and -excludes" -# ); + Moose::Deprecated::deprecated( + feature => 'alias or excludes', + message => + "The alias and excludes options for role application have been renamed -alias and -excludes" + ); } if ( exists $params{excludes} && !exists $params{'-excludes'} ) {