Commit | Line | Data |
38bf2a25 |
1 | package Class::MOP::Deprecated; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | |
38bf2a25 |
6 | use Package::DeprecationManager -deprecations => { |
38bf2a25 |
7 | }; |
8 | |
38bf2a25 |
9 | 1; |
10 | |
11 | __END__ |
12 | |
13 | =pod |
14 | |
15 | =head1 NAME |
16 | |
17 | Class::MOP::Deprecated - Manages deprecation warnings for Class::MOP |
18 | |
19 | =head1 DESCRIPTION |
20 | |
21 | use Class::MOP::Deprecated -api_version => $version; |
22 | |
23 | =head1 FUNCTIONS |
24 | |
25 | This module manages deprecation warnings for features that have been |
26 | deprecated in Class::MOP. |
27 | |
28 | If you specify C<< -api_version => $version >>, you can use deprecated features |
29 | without warnings. Note that this special treatment is limited to the package |
30 | that loads C<Class::MOP::Deprecated>. |
31 | |
32 | =cut |