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 => { |
217312a5 |
11 | 'coerce without coercion' => '1.08', |
3b400403 |
12 | 'pre-0.94 MetaRole API' => '0.93', |
0eb7894a |
13 | 'Role type' => '0.84', |
44193bda |
14 | 'subtype without sugar' => '0.72', |
15 | 'type without sugar' => '0.72', |
d69a348e |
16 | 'Moose::init_meta' => '0.56', |
3b400403 |
17 | }, |
18 | -ignore => [qw( Moose Moose::Exporter Moose::Util::MetaRole )], |
19 | ; |
20 | |
21 | 1; |
7ebd38db |
22 | |
23 | __END__ |
24 | |
25 | =pod |
26 | |
27 | =head1 NAME |
28 | |
29 | Moose::Deprecated - Manages deprecation warnings for Moose |
30 | |
31 | =head1 DESCRIPTION |
32 | |
33 | use Moose::Deprecated -api_version => $version; |
34 | |
35 | =head1 FUNCTIONS |
36 | |
37 | This module manages deprecation warnings for features that have been |
38 | deprecated in Moose. |
39 | |
40 | If you specify C<< -api_version => $version >>, you can use deprecated features |
41 | without warnings. Note that this special treatment is limited to the package |
42 | that loads C<Class::MOP::Deprecated>. |
43 | |
44 | =head1 AUTHORS |
45 | |
46 | Dave Rolsky E<lt>autarch@urth.orgE<gt> |
47 | |
48 | =head1 COPYRIGHT AND LICENSE |
49 | |
50 | Copyright 2006-2010 by Infinity Interactive, Inc. |
51 | |
52 | L<http://www.iinteractive.com> |
53 | |
54 | This library is free software; you can redistribute it and/or modify |
55 | it under the same terms as Perl itself. |
56 | |
57 | =cut |