Also see Moose::Manual::Delta for more details of, and workarounds
for, noteworthy changes.
+NEXT
+
+ [API CHANGES]
+
+ * The deprecation warnings for alias and excludes are back, use -alias and
+ -excludes instead. (Dave Rolsky)
+
1.12 Sat, Aug 28, 2010
[BUG FIXES]
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'} ) {