Commit | Line | Data |
3b400403 |
1 | package Moose::Deprecated; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | |
6 | our $VERSION = '1.08'; |
7 | $VERSION = eval $VERSION; |
8 | our $AUTHORITY = 'cpan:STEVAN'; |
9 | |
10 | use Package::DeprecationManager -deprecations => { |
11 | 'pre-0.94 MetaRole API' => '0.93', |
0eb7894a |
12 | 'Role type' => '0.84', |
44193bda |
13 | 'subtype without sugar' => '0.72', |
14 | 'type without sugar' => '0.72', |
d69a348e |
15 | 'Moose::init_meta' => '0.56', |
3b400403 |
16 | }, |
17 | -ignore => [qw( Moose Moose::Exporter Moose::Util::MetaRole )], |
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 |
41 | that loads C<Class::MOP::Deprecated>. |
42 | |
43 | =head1 AUTHORS |
44 | |
45 | Dave Rolsky E<lt>autarch@urth.orgE<gt> |
46 | |
47 | =head1 COPYRIGHT AND LICENSE |
48 | |
49 | Copyright 2006-2010 by Infinity Interactive, Inc. |
50 | |
51 | L<http://www.iinteractive.com> |
52 | |
53 | This library is free software; you can redistribute it and/or modify |
54 | it under the same terms as Perl itself. |
55 | |
56 | =cut |