Commit | Line | Data |
3b400403 |
1 | package Moose::Deprecated; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | |
b693686e |
6 | use 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 | |
20 | 1; |
7ebd38db |
21 | |
22 | __END__ |
23 | |
24 | =pod |
25 | |
26 | =head1 NAME |
27 | |
28 | Moose::Deprecated - Manages deprecation warnings for Moose |
29 | |
30 | =head1 DESCRIPTION |
31 | |
32 | use Moose::Deprecated -api_version => $version; |
33 | |
34 | =head1 FUNCTIONS |
35 | |
36 | This module manages deprecation warnings for features that have been |
37 | deprecated in Moose. |
38 | |
39 | If you specify C<< -api_version => $version >>, you can use deprecated features |
40 | without warnings. Note that this special treatment is limited to the package |
14c095bc |
41 | that loads C<Moose::Deprecated>. |
7ebd38db |
42 | |
7ebd38db |
43 | =cut |