Tweak doc changes for role_type & class_type
[gitmo/Moose.git] / lib / Moose / Deprecated.pm
CommitLineData
3b400403 1package Moose::Deprecated;
2
3use strict;
4use warnings;
5
b693686e 6use Package::DeprecationManager 0.07 -deprecations => {
7ec88c15 7 'optimized type constraint sub ref' => '2.0000',
8 'default is for Native Trait' => '1.14',
9 'default default for Native Trait' => '1.14',
10 'coerce without coercion' => '1.08',
3b400403 11 },
3cf2f9ec 12 -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
3b400403 13 ;
14
151;
7ebd38db 16
17__END__
18
19=pod
20
21=head1 NAME
22
23Moose::Deprecated - Manages deprecation warnings for Moose
24
25=head1 DESCRIPTION
26
27 use Moose::Deprecated -api_version => $version;
28
29=head1 FUNCTIONS
30
31This module manages deprecation warnings for features that have been
32deprecated in Moose.
33
34If you specify C<< -api_version => $version >>, you can use deprecated features
35without warnings. Note that this special treatment is limited to the package
14c095bc 36that loads C<Moose::Deprecated>.
7ebd38db 37
7ebd38db 38=cut