remove a bit more deprecation code
[gitmo/Moose.git] / lib / Moose / Deprecated.pm
1 package Moose::Deprecated;
2
3 use strict;
4 use warnings;
5
6 use Package::DeprecationManager 0.07 -deprecations => {
7     'default is for Native Trait'      => '1.14',
8     'default default for Native Trait' => '1.14',
9     'coerce without coercion'          => '1.08',
10     },
11     -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
12     ;
13
14 1;
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
35 that loads C<Moose::Deprecated>.
36
37 =cut