Beginning of dzilization
[gitmo/Moose.git] / lib / Moose / Deprecated.pm
1 package Moose::Deprecated;
2
3 use strict;
4 use warnings;
5
6 our $AUTHORITY = 'cpan:STEVAN';
7
8 use Package::DeprecationManager 0.07 -deprecations => {
9     'default is for Native Trait'      => '1.14',
10     'default default for Native Trait' => '1.14',
11     'coerce without coercion'          => '1.08',
12     'pre-0.94 MetaRole API'            => '0.94',
13     'alias or excludes'                => '0.89',
14     'Role type'                        => '0.84',
15     'subtype without sugar'            => '0.72',
16     'type without sugar'               => '0.72',
17     'Moose::init_meta'                 => '0.56',
18     },
19     -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
20     ;
21
22 1;
23
24 __END__
25
26 =pod
27
28 =head1 NAME 
29
30 Moose::Deprecated - Manages deprecation warnings for Moose
31
32 =head1 DESCRIPTION
33
34     use Moose::Deprecated -api_version => $version;
35
36 =head1 FUNCTIONS
37
38 This module manages deprecation warnings for features that have been
39 deprecated in Moose.
40
41 If you specify C<< -api_version => $version >>, you can use deprecated features
42 without warnings. Note that this special treatment is limited to the package
43 that loads C<Moose::Deprecated>.
44
45 =cut