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', |
3b400403 |
10 | }, |
3cf2f9ec |
11 | -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/], |
3b400403 |
12 | ; |
13 | |
14 | 1; |
7ebd38db |
15 | |
16 | __END__ |
17 | |
18 | =pod |
19 | |
20 | =head1 NAME |
21 | |
22 | Moose::Deprecated - Manages deprecation warnings for Moose |
23 | |
24 | =head1 DESCRIPTION |
25 | |
26 | use Moose::Deprecated -api_version => $version; |
27 | |
28 | =head1 FUNCTIONS |
29 | |
30 | This module manages deprecation warnings for features that have been |
31 | deprecated in Moose. |
32 | |
33 | If you specify C<< -api_version => $version >>, you can use deprecated features |
34 | without warnings. Note that this special treatment is limited to the package |
14c095bc |
35 | that loads C<Moose::Deprecated>. |
7ebd38db |
36 | |
7ebd38db |
37 | =cut |