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