stop closing over $attr in accessor generation
[gitmo/Moose.git] / lib / Moose / Deprecated.pm
CommitLineData
3b400403 1package Moose::Deprecated;
2
3use strict;
4use warnings;
5
b693686e 6use Package::DeprecationManager 0.07 -deprecations => {
34d6d196 7 'default is for Native Trait' => '1.14',
8 'default default for Native Trait' => '1.14',
9 'coerce without coercion' => '1.08',
10 'pre-0.94 MetaRole API' => '0.94',
11 'alias or excludes' => '0.89',
12 'Role type' => '0.84',
13 'subtype without sugar' => '0.72',
14 'type without sugar' => '0.72',
15 'Moose::init_meta' => '0.56',
3b400403 16 },
3cf2f9ec 17 -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
3b400403 18 ;
19
201;
7ebd38db 21
22__END__
23
24=pod
25
26=head1 NAME
27
28Moose::Deprecated - Manages deprecation warnings for Moose
29
30=head1 DESCRIPTION
31
32 use Moose::Deprecated -api_version => $version;
33
34=head1 FUNCTIONS
35
36This module manages deprecation warnings for features that have been
37deprecated in Moose.
38
39If you specify C<< -api_version => $version >>, you can use deprecated features
40without warnings. Note that this special treatment is limited to the package
14c095bc 41that loads C<Moose::Deprecated>.
7ebd38db 42
7ebd38db 43=cut