Commit | Line | Data |
3b400403 |
1 | package Moose::Deprecated; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | |
b693686e |
6 | use Package::DeprecationManager 0.07 -deprecations => { |
7ec88c15 |
7 | 'optimized type constraint sub ref' => '2.0000', |
8 | 'default is for Native Trait' => '1.14', |
9 | 'default default for Native Trait' => '1.14', |
10 | 'coerce without coercion' => '1.08', |
3b400403 |
11 | }, |
3cf2f9ec |
12 | -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/], |
3b400403 |
13 | ; |
14 | |
15 | 1; |
7ebd38db |
16 | |
064a13a3 |
17 | # ABSTRACT: Manages deprecation warnings for Moose |
18 | |
7ebd38db |
19 | __END__ |
20 | |
21 | =pod |
22 | |
7ebd38db |
23 | =head1 DESCRIPTION |
24 | |
25 | use Moose::Deprecated -api_version => $version; |
26 | |
27 | =head1 FUNCTIONS |
28 | |
29 | This module manages deprecation warnings for features that have been |
30 | deprecated in Moose. |
31 | |
32 | If you specify C<< -api_version => $version >>, you can use deprecated features |
33 | without warnings. Note that this special treatment is limited to the package |
14c095bc |
34 | that loads C<Moose::Deprecated>. |
7ebd38db |
35 | |
7ebd38db |
36 | =cut |