Improve documentation on Moose::Util::TypConstraints "role_type" and "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 => {
34d6d196 7 'default is for Native Trait' => '1.14',
8 'default default for Native Trait' => '1.14',
9 'coerce without coercion' => '1.08',
3b400403 10 },
3cf2f9ec 11 -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
3b400403 12 ;
13
141;
7ebd38db 15
16__END__
17
18=pod
19
20=head1 NAME
21
22Moose::Deprecated - Manages deprecation warnings for Moose
23
24=head1 DESCRIPTION
25
26 use Moose::Deprecated -api_version => $version;
27
28=head1 FUNCTIONS
29
30This module manages deprecation warnings for features that have been
31deprecated in Moose.
32
33If you specify C<< -api_version => $version >>, you can use deprecated features
34without warnings. Note that this special treatment is limited to the package
14c095bc 35that loads C<Moose::Deprecated>.
7ebd38db 36
7ebd38db 37=cut